-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
Describe the bug
If the term config variable is xterm instead of xterm-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 that xterm-kitty is not a known terminal type.)
To Reproduce
Steps to reproduce the behavior:
- Edit
kitty.confto setterm xterm - Start kitty
- Press shift-control-escape (with default keymap) to launch a kitty shell windowpane
- Type something
- Backspace to erase
- Instead of erasing, you get extra spaces
Screenshots
This is after typing "hello", then pressing backspace 5 times.
Environment details
kitty 0.22.0 (887347106d) created by Kovid Goyal
Linux skully 5.11.0-22-generic #23-Ubuntu SMP Thu Jun 17 00:34:23 UTC 2021 x86_64
Ubuntu 21.04 \n \l
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=21.04
DISTRIB_CODENAME=hirsute
DISTRIB_DESCRIPTION="Ubuntu 21.04"
Running under:X11
Loaded config files:
/home/egnor/.config/kitty/kitty.conf
Config options different from defaults:
background Color(red=48, green=48, blue=48)
background_opacity 0.85
enable_audio_bell False
font_size 8.0
initial_window_height (50, 'cells')
initial_window_width (80, 'cells')
linux_display_server x11
remember_window_size False
resize_in_steps True
tab_bar_style powerline
term xterm
visual_bell_duration 0.1
Additional context
This can be reproduced with a kitty.conf as simple as
term xterm