feat(shortcuts): bind the help panel to kitty_mod+H

Use the standard kitty modifier instead of Ctrl+H, which many terminal
programs use for backspace. The help panel now lists the binding as
kitty_mod+h.
This commit is contained in:
BlackAngelTV committed 2026-11-12 13:07:19 +01:00
1 parent 7c17b5c0ce
commit c1d4ca8c2d
6 files changed
+14 -13

No files matched your search

+1 -1
View File
@@ -221,7 +221,7 @@ func shell_main(cmd *cli.Command, args []string) (int, error) {
running_shell = true
formatter = markup.New(true)
fmt.Println("Welcome to the kitty shell!")
fmt.Println("Use", formatter.Green("Ctrl+H"), "or", formatter.Green("help"), "for the keyboard shortcuts panel.")
fmt.Println("Use", formatter.Green("Ctrl+Shift+H"), "or", formatter.Green("help"), "for the keyboard shortcuts panel.")
fmt.Println("Use", formatter.Green("help <command>"), "for a command's help, or", formatter.Green("exit"), "to quit.")
if atwid := os.Getenv("KITTY_SHELL_ACTIVE_WINDOW_ID"); atwid != "" {
amsg := "Previously active window id: " + atwid