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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -