Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to enable arrow keys? #7

Closed
felippenardi opened this issue Sep 10, 2014 · 1 comment
Closed

How to enable arrow keys? #7

felippenardi opened this issue Sep 10, 2014 · 1 comment

Comments

@felippenardi
Copy link

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?

@fxn fxn closed this as completed in 0375d74 Sep 10, 2014
@felippenardi
Copy link
Author

@fxn Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant