Basic terminal cursor manipulation