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

Small issue with remap of arrow keys #8099

Closed
jrmd54 opened this issue Dec 4, 2024 · 0 comments
Closed

Small issue with remap of arrow keys #8099

jrmd54 opened this issue Dec 4, 2024 · 0 comments
Labels

Comments

@jrmd54
Copy link

jrmd54 commented Dec 4, 2024

Normally, when the cmdline is not visible on the screen (for example I cat a large file and i have to scroll up to view the beginning of it in the terminal), pressing a key that affect the cmdline (a letter, an arrow...) moves back the visible text to the bottom of the scrollback, so that the cmdline is visible.

This does not work if the pressed key is the result of a map, for example by swapping the 'u' and 'arrow_up' keys:

map u send_key up
map up send_key u

pressing either of them will not goto cmdline if it is not visible.

Thank you very much

(tested with kitty 0.36.4)

@jrmd54 jrmd54 added the bug label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant