Skip to content

Commit ae48bf3

Browse files
committed
subshell: tell fish that we actually support the kitty keyboard protocol now
__mc_csi_u was added so that fish shell knows when it's safe to enable the kitty keyboard protocol. As seen in the parent commit, it wasn't quite safe; so the upcoming patch release of fish will disable this protocol again -- until fish finds this commit, so add a new version marker. While at it, use a less misleading name. Dropping the old name will mean that fish < 4.0.1 will no longer enable the kitty keyboard protocol (and be safe from the hang on numlock). I guess we could avoid that but I don't think this is a big loss, especially because since fish 4.0.1 will enable it again. Signed-off-by: Johannes Altmanninger <aclopte@gmail.com>
1 parent f5c8d51 commit ae48bf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/subshell/common.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ init_subshell_child (const char *pty_name)
465465

466466
case SHELL_FISH:
467467
execl (mc_global.shell->path, mc_global.shell->path, "--init-command",
468-
"set --global __mc_csi_u 1", (char *) NULL);
468+
"set --global __mc_kitty_keyboard 1", (char *) NULL);
469469
break;
470470

471471
case SHELL_ASH_BUSYBOX:

0 commit comments

Comments
 (0)