-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
TUI: handle ModifyOtherKeys key sequences #14350
Comments
Could you try nightly? I think this bug might have been fixed already. |
Indeed, it is fixed with v0.5.0-dev+1233-g82ac44d01 |
In fact, it seems there is another problem with nightly build. Indeed, it runs fine with [1]: as explain here alacritty/alacritty#3101 |
This issue has been mentioned on Neovim Discourse. There might be relevant details there: https://neovim.discourse.group/t/nitty-gritty-questions-on-terminal-nvim-and-keyboard-events/1624/1 |
fixed by #17771 |
Environment
nvim --version
: v0.4.4vim -u DEFAULTS
(version: ) behaves differently? no$TERM
: xtermSteps to reproduce
~/.Xresources
to includexterm*modifyOtherKeys: 2
. This step is not mandatory, but it may make the further behavior easier to understand. Don't forget to merge your resource withxrdb -merge ~/.Xresources
.nvim -u NORC
with xterm.:
.C-k
twice (I have never understood whyC-k
should be typed twice, but I think it is not related to the problem).Ctrl
andShift
likeC-S-g
.^G
while<C-S-g>
is expected.If you do the same with
vim
, it displays<C-S-g>
as expected.Neovim correctly support ModifyOtherKeys. If it was not the case, it would be impossible to enter any control sequences or shited letters (compare with the behavior of a program that does not support ModifyOtherKeys like
nano
). However, a part of the escape sequence is dropped somewhere and neovim does not make the difference between<C-g>
and<C-S-g>
.Note I think this issue is not related to #6279. Indeed, in my setup
xterm
send^]]
and not\x9b
.The text was updated successfully, but these errors were encountered: