-
-
Notifications
You must be signed in to change notification settings - Fork 988
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
Internal kitty shell has broken backspace when term != xterm-kitty #3870
Comments
DO NOT change TERM. If you change TERM everything will break. To solve And the internal shell uses readline, which is what is breaking when you |
(Kovid, avert your eyes) In case anyone else is walking this dark path, I found the issue. It only happens with the binary download, and probably only on linux; if you build kitty from source, the problem goes away. The reason is that the binary download uses bundled copies of shared libraries like However, this isolation goes a little too far in this case (though Kovid might disagree). Specifically, the bundled For those of us who have already chosen this dark path (THIS IS NOT GENERAL ADVICE), you can resolve this by adding this to your
This causes the bundled |
Haha, I refuse to look away :) Might be worth adding --with-terminfo-dirs to the bypy build script for |
And patched bypy accordingly: kovidgoyal/bypy@6379b39 |
Describe the bug
If the
term
config variable isxterm
instead ofxterm-kitty
, the internal kitty shell (shift-control-escape) seems to have something wrong with its line editing.(I find it necessary to set term to
xterm
or similar, otherwise upon ssh to many hosts, they complain thatxterm-kitty
is not a known terminal type.)To Reproduce
Steps to reproduce the behavior:
kitty.conf
to setterm xterm
Screenshots
This is after typing "hello", then pressing backspace 5 times.
Environment details
Additional context
This can be reproduced with a
kitty.conf
as simple asThe text was updated successfully, but these errors were encountered: