diff --git a/CLI/cmux.swift b/CLI/cmux.swift index 20b729ecb9..81cfdba73c 100644 --- a/CLI/cmux.swift +++ b/CLI/cmux.swift @@ -2698,7 +2698,9 @@ struct CMUXCLI { "paste-buffer", "list-buffers", "respawn-pane", - "display-message": + "display-message", + "show-options", + "show-option": try runTmuxCompatCommand( command: command, commandArgs: commandArgs, @@ -11689,6 +11691,11 @@ struct CMUXCLI { try tmuxPruneCompatWorkspaceState(workspaceId: workspaceId) } + case "show-options", "show-option": + // Stub: omx queries `tmux show-options -sv extended-keys` to check + // terminal key mode. cmux handles keys natively, so return empty. + print("") + case "set-option", "set", "set-window-option", "setw", "source-file", "refresh-client", "attach-session", "detach-client": return @@ -12286,6 +12293,11 @@ struct CMUXCLI { print(message) } + case "show-options": + // Stub: omx queries `tmux show-options -sv extended-keys` to check + // terminal key mode. cmux handles keys natively, so return empty. + print("") + default: throw CLIError(message: "Unsupported tmux compatibility command: \(command)") }