waveterm icon indicating copy to clipboard operation
waveterm copied to clipboard

[Feature]: Comprehensive keyboard handling in terminals

Open jensenojs opened this issue 5 months ago • 2 comments

Feature description

otherwise Ctrl+Shift key combinations are not transmitted to Neovim, in ghostty, it call tell different between and by using cat -v

Image
-- minimal_repro.lua
vim.keymap.set("n", "<C-p>", function()
    print("Success: Ctrl-P was detected!")
end)

-- When in Normal mode, if Ctrl-Shift-P is pressed, print a success message.
vim.keymap.set("n", "<C-S-p>", function()
    print("Success: Ctrl-Shift-P was detected!")
end)

it can detected both

Image

https://discord.com/channels/977384027629690900/977384027629690903/1417326192884846622

Implementation Suggestion

Image

Anything else?

  • https://sw.kovidgoyal.net/kitty/keyboard-protocol/

jensenojs avatar Sep 16 '25 11:09 jensenojs

I'm on a mac and having issues getting alt + n or alt + f to work correctly as well.

safaci2000 avatar Sep 18 '25 17:09 safaci2000