go - What is the Literal "Up" Key Escape Sequence in Golang -


i'm writing go program communicate server on telnet. has interactive little program (which have heard can made called "curses"--no familiarity there).

while can send "enter" likes of "\r\n" find myself needing send "up" key. how write literal "up" key in go code, , appropriate escape sequences, in way send server?

\x1b escape sequence. csi codes per this worked, \x1ba move cursor 1 row.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -