-
Notifications
You must be signed in to change notification settings - Fork 257
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
Ctrl+h produces <BS> in Neovim #235
Comments
This behavior is changed in b5da2e2 and it's the correct version. Maybe qtermwidget can have an option to use non-standard behavior like VTE to achieve compatibility with specific applications. |
This is a bit beyond my depth, so apologies if this isn't relevant; just trying to relay some info that might be. There was an old issue about this in the Neovim repo: neovim/neovim#2048 Also, that commit messages suggests the change is to behave like other terminals, but in gnome-terminal the expected behavior I mentioned is the actual behavior. |
Thanks for the thread! Maybe my interpretation is wrong about Ctrl-H. That's a long thread and I need some time to read them all :)
I was trying to make qtermwidget to behave like xterm, which is the standard for terminals using |
After reading most comments in the long thread and some relevant discussions, I decide to add an option to allow qtermwidget to behave like gnome-terminal. Notes to my self:
IMO that's crazy, but seems there's no better option.
|
As some added historical context I learned recently:
So, if you're emulating a VT100, then backspace should be |
Facing the same problem in qterminal, curious to know if this will be fixed. |
Sounds reasonable. Needs to investigate how to achieve that from qtermwidget. Probably invoking ioctls after allocating ptys? |
Hello, is there any fix already available, or a plan to fix it? I used many different terminal-emulator applications (and also the non-gui fallback shell) - and qterminal is the only terminal application which not works correctly in this regard. Is there any chance for this to be fixed, so backspace works properly like everywhere else? Just for comparision - 4 different terminal applications. As it was mentioned somewhere that there is an option""to simulate gnome-terminal behaviour"". Not sure about that, i.e. KDE's Qt based konsole also does it right and that out of the box. Versions tried: 0.17.0, 0.16.1 |
Emacs users are also affected, since Ctrl-H is the default shortcut key for accessing Emacs's help system—otherwise you have to use e.g. In QTerminal 1.4.0, Ctl-H works properly for me if I set File - Preferences - Behavior - Emulation to |
Same this worked for me too, I think it should be the default. |
Expected Behavior
In Neovim, enter insert mode and press ctrl+v ctrl+h. Output should be ^H.
Current Behavior
Output is
Context
This seems to be a regression, as the Arch binary version works as expected. I tried building qterminal & qtermwidget from source to see if I might be able to track down the problem myself, but curiously the problem still occurs when building tag 0.9.0.
Many people map
<C-W> h
to<C-H>
for easier window navigation, so this probably will affect a number of people if it winds up in a release.System Information
The text was updated successfully, but these errors were encountered: