Describe the bug
After successfully connecting to SSH, if I backspace when modifying input commands, it will cause the backspace to appear on the command line in a way that looks like a space. Although entering the correct number of backscatters can actually remove the characters I want to delete, it doesn't seem like that.
For example, if "clera" is entered after SSH connection, I want to delete the last "ra", so I will backspace twice. However, at this point, Kitty will display "clera ", but the actual effect is "cle". If I continue to input "ar" at this time, the kitty will display "clera ar", which can correctly execute the "clear" command.
Describe the bug After successfully connecting to SSH, if I backspace when modifying input commands, it will cause the backspace to appear on the command line in a way that looks like a space. Although entering the correct number of backscatters can actually remove the characters I want to delete, it doesn't seem like that. For example, if "clera" is entered after SSH connection, I want to delete the last "ra", so I will backspace twice. However, at this point, Kitty will display "clera ", but the actual effect is "cle". If I continue to input "ar" at this time, the kitty will display "clera ar", which can correctly execute the "clear" command.
To Reproduce Steps to reproduce the behavior:
admin@Debian:~$ ssh abcd@1.1.1.1
;abcd@efg:~$ abc[BackSpace][BackSpace]
。Environment details