-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
Considering supporting numpadinsert
and numpaddelete
for bindings
in Linux
#770
Comments
Hey @cppHusky thank you for the issue! is this something you would like to contribute? I can help with it along the way |
Err... I was a newbie in Rust, but I would like to have a try. If successful, I will make a PR. |
No stress, feel free to join our discord and reach out. https://discord.gg/zRvJjmKGwS This is the file that needs to be changed rio/frontends/rioterm/src/bindings/mod.rs Lines 897 to 915 in 39081ce
(need to add |
Thanks! |
Emmm... Things may be more complicated than I think... It seems that All of numpad 0-9 keys can't be bound correctly. I've tested the following config on Windows and Linux: [bindings]
keys=[
{ key = "numpad5", with = "control", action = "Paste" }, # failed
{ key = "5", with = "control", action = "Paste" }, # successful
{ key = "numpadadd", with = "control", action = "Paste" }, # successful
] When I tried to paste with But whether I enable I think the problem could be about winit but not completely sure. |
Yea, it looks this problem is a bit more complex than I originally thought Even alacritty doesn't have numpadinster and numpaddelete because of that |
Correction: If I enable So maybe we need a method to detect |
I've tried alacritty and found that it supports Alacritty also uses |
I used to press
control
+ numpadinsert
for copy andshift
+ numpadinsert
for paste, but I noticed that in Linux theinsert
and numpadinsert
are not equal.In my experience, many applications in linux support both
insert
and numpadinsert
(e.g. chrome, vscode). Some others regard numpadinsert
asNum
+Insert
(e.g. KDE system settings and Konsole). But it seems that Rio doesn't directly supportnumpadinsert
according to the docAdditionally, rio do not support
numpaddelete
, too. I think it's necessary to support them.The text was updated successfully, but these errors were encountered: