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

Add support for cursor/arrow keys in application mode #681

Merged
merged 1 commit into from Jul 2, 2022

Conversation

awahlig
Copy link
Contributor

@awahlig awahlig commented Jun 12, 2022

A simple change to add support for Home/End and Arrow Keys in application mode (besides the normal mode).

For example, the Arrow Up key can be sent as:

Normal mode Application mode
ESC [ A ESC O A

I discovered the issue when I couldn’t move the cursor in Helix editor using the Blink Shell app on iOS (which seems to always use the application mode).

@awahlig awahlig requested a review from TimonPost as a code owner June 12, 2022 21:24
@TimonPost
Copy link
Member

Do you have a source that describes this behavior, and what exactly do you mean by 'application' mode?

@TimonPost
Copy link
Member

Ah, never mind, found this document: https://documentation.help/PuTTY/config-appcursor.html

@TimonPost TimonPost merged commit fe37c89 into crossterm-rs:master Jul 2, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants