How do I move the cursor up?

Here you go

julia> Base.current_terminfo[:cursor_up] # Private API, do not rely on
"\e[A"