fixed all terminal cursor manipulation problems forever