ssh kitten: Fix a regression that broken ctrl+space mapping in zsh

Fixes #6780
This commit is contained in:
Kovid Goyal
2023-11-03 07:16:07 +05:30
parent 52cebf0150
commit d113a6c2cf
2 changed files with 3 additions and 1 deletions

View File

@@ -90,6 +90,8 @@ Detailed list of changes
- A new action :ac:`set_window_title` to interactively change the title of the active window
- ssh kitten: Fix a regression that broken :kbd:`ctrl+space` mapping in zsh (:iss:`6780`)
0.30.1 [2023-10-05]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@@ -727,7 +727,7 @@ func run_ssh(ssh_args, server_args, found_extra_args []string) (rc int, err erro
if err != nil {
return 1, err
}
restore_escape_codes := loop.RESTORE_PRIVATE_MODE_VALUES
restore_escape_codes := loop.RESTORE_PRIVATE_MODE_VALUES + loop.HANDLE_TERMIOS_SIGNALS.EscapeCodeToReset()
if escape_codes_to_set_colors != "" {
restore_escape_codes += "\x1b[#Q"
}