-
-
Notifications
You must be signed in to change notification settings - Fork 992
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
hyper key causes buffer to scroll down #1255
Comments
Hyper is not a recognized modifier in glfw (the toolkit kitty uses) and |
After a very long time, I finally found a, somewhat hacky, fix for this. The "obvious" solution to map caps-lock/hyper to do nothing still had the problem of scrolling down:
However, binding caps-lock/hyper to something meaningless stops the scrolling:
|
@kovidgoyal could we add support for Hyper? |
I still wonder whether my original buffer scroll down issue is related to Hyper or Caps Lock. It definitively receives (fallback?) scancode |
@Luflosi feel free to try
…On Sun, Oct 27, 2019 at 05:27:48AM -0700, Luflosi wrote:
@kovidgoyal could we add support for <kbd>Hyper</kbd>?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#1255 (comment)
--
_____________________________________
Dr. Kovid Goyal
https://www.kovidgoyal.net
https://calibre-ebook.com
_____________________________________
|
I don't know how to simulate the Hyper key on macOS, so I can't implement this feature, sorry. |
Fixed with b796cee! |
@kovidgoyal this issue has returned once again in the slew of key input handling commits after 0.19.3. Perhaps something done in b796cee was made undone? |
Could be because Lines 151 to 154 in f6d4b8e
is_modifier_key does)
|
Are you upto date on master? And if you are post the output of running kitty --debug-keyboard and pressing the hyper key. |
In particular make sure you have 60e589f |
Works fine again, thanks! I was on f6d4b8e, FWIW. |
On my system (
4.19.10-arch1-1-ARCH
,kitty 0.13.1
, tried the git version) pressing the caps lock key causes kitty to reset from wherever I've scrolled, right back to the shell prompt (i.e. it undoes any scrolling I've done).xterm
for example does not display this behavior. Caps lock, which I've remapped toHyper_L
, is my wm's main modifier, so the unwanted scrolling behavior is often annoying.Kitty's keyboard debug output on pressing the caps lock key:
To solve this, I've already tried mapping all keycodes from the output above to
no_op
, per the documentation, as well as added the optionclear_all_shortcuts yes
. Both resolve nothing, unfortunately. Any insight in which key or modifiers causes this to happen, and how to disable this behavior? All other modifiers I press (including super) don't display this problem.The text was updated successfully, but these errors were encountered: