aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/plugin_api/plugin_command.proto
diff options
context:
space:
mode:
authordivens <divens@users.noreply.github.com>2026-04-06 10:34:23 +0200
committerGitHub <noreply@github.com>2026-04-06 10:34:23 +0200
commit2b3ae1e69cbf6a84599415ad80de456970199961 (patch)
tree66d13c802e4a1fdbb5af26c1faa7ea15e167d2f2 /zellij-utils/src/plugin_api/plugin_command.proto
parentdocs(changelog): update recent PRs (diff)
downloadsl0ppij-2b3ae1e69cbf6a84599415ad80de456970199961.tar.gz
sl0ppij-2b3ae1e69cbf6a84599415ad80de456970199961.tar.xz
sl0ppij-2b3ae1e69cbf6a84599415ad80de456970199961.zip
fix: respect --name flag when creating new panes (#4979)
* fix: respect --name flag when creating and renaming panes Three issues fixed: 1. Pane creation: --name was silently discarded for default shell panes because use_terminal_title was true. Now user-provided names take priority. Also pass initial_pane_title as pane_name to TerminalPane constructor (was hardcoded to empty string). 2. CLI rename without --pane-id: was routed through PaneNameInput which appends to existing name. Now uses a dedicated RenameActivePane action that fully replaces the name, working for any name length including single characters. 3. Interactive rename: entering rename mode preserves the existing name for editing (append/backspace). Esc reverts to the name before rename mode was entered. Adds 28 tests covering rename semantics, interactive editing, undo, OSC title interaction, and a wire-level IPC round-trip test. * refactor: route active-pane rename via Option<PaneId> Replace the dedicated Action::RenameActivePane variant with an Option<PaneId> on the existing Action::RenamePaneByPaneId. route.rs dispatches None to the server-internal ScreenInstruction::RenameActivePane and Some(id) to the existing RenamePaneWithPaneId path. Drops all proto/conversion boilerplate for the removed variant: plugin API additions, IPC tag 137, and both directions of the wire conversion. --------- Co-authored-by: divens <divens.dev@gmail.com>
Diffstat (limited to 'zellij-utils/src/plugin_api/plugin_command.proto')
0 files changed, 0 insertions, 0 deletions