-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Fix HOME, PageUp, PageDown shortcuts for terminal. #7305
Conversation
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
@AndrienkoAleksandr Do you know why just |
nope, I can take look. But with current pr, |
Just tested this PR, it works well! 🎉 Many thanks, I'm able to use Also, I notice that TL;DR I confirm this PR fixes #7304. |
@jankeromnes please approve if it is fine, I'm a bit concerned that we have to change keybindings and don't know why old keybindings don't work anymore, but if new keybindings are better then probably it is not important. |
It's because these particular keybindings were introduced recently (13-20 days ago), in #7179 and in particular 8935269#diff-b30aa6cfa31ef8d5a02459c5454b81b3R372-R386. So this is a follow-up to #7179 that prefixes 3 newly introduced keybindings with Now that I think of it, I think I may have also noticed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AndrienkoAleksandr thanks for fixing
@jankeromnes thanks for testing and explaining what was wrong!
Thanks @akosyakov for approving and merging! And indeed thanks @AndrienkoAleksandr for fixing this so quickly. I have two remaining questions, if you have time:
|
Actually it works not always - depends on shell and program opened in the shell. That's why we used program scroll embedded to the xterm.js. For example for my working laptop and my shell - it doesn't work(Fedora 31, shell - bash). |
Referenced issue:
#7304
What it does
Fix HOME, PageUp, PageDown shortcuts for terminal.
How to test
Use 'Shift+Home' shortcut to scroll terminal to top
Use 'Shift+PageUp' to scroll one terminal page
Use 'Shfit+PageDown' to scroll terminal bottom
Review checklist
Reminder for reviewers
Signed-off-by: Oleksandr Andriienko oandriie@redhat.com