-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
"F10" issue in Gnome Terminal #3
Comments
A good cross platform default is hard, I'll check it out. For now you could remap the keys using keymap.txt. |
After some more thinking, IMHO the best solution would be to use "Ctrl-Shift-FX" keystrokes. As you may know, in Gnome Terminal (but I believe also in most Linux terminals) you can copy / paste with "Ctrl-Shift-C" / "Ctrl-Shift-V". Moreover "Ctrl-Shift-FX" keystrokes should be available in most (or all) platforms. |
Actually Ctrl-Shift-FX gives me the same keycode as Ctrl-FX. Unfortunately, avoiding ncurses means snip is much simpler to build and distribute but limited in recognizing every single key combo. You can see the keymaps by OS here: https://github.com/genotrance/snip/tree/master/src/snip/term I'd use termbox but it is not supported on Windows yet. |
Why you are not considering nim-ncurses? |
Snip is aimed at being light weight and portable. Getting every user of snip to download an ncurses DLL is overkill. It's easier on Linux with package managers but more tedious for Windows. |
Gnome Terminal captures "F10" instead of passing it to the shell (shortcut to open "File" menu). I suggest to change the default key binding for help, maybe "Ctrl-F1"?
The text was updated successfully, but these errors were encountered: