I know I must change the code on this line and that I must provide the ASCII escape character for the arrows.
I found this information:
up - "\027[A"
down - "\027[B"
left - "\027[D"
right - "\027[C"
Tried a to insert it in a few different ways on the code: \027[C, \027[C~, \e[C, \e[C~, ^[[C, ^[[C~, but none of them are working... what is the way to add an arrow key to this line?
I know I must change the code on this line and that I must provide the ASCII escape character for the arrows.
I found this information:
Tried a to insert it in a few different ways on the code:
\027[C
,\027[C~
,\e[C
,\e[C~
,^[[C
,^[[C~
, but none of them are working... what is the way to add an arrow key to this line?