Skip to content

Support split main TUI windows#266

Merged
edwin-zvs merged 12 commits into
mainfrom
tui-split-main-sessions
May 30, 2026
Merged

Support split main TUI windows#266
edwin-zvs merged 12 commits into
mainfrom
tui-split-main-sessions

Conversation

@edwin-zvs

Copy link
Copy Markdown
Contributor

Summary

Adds Emacs-style split main windows to the TUI's right/session pane. The existing session list and pinned strip remain; the main view can now be divided into multiple independently-selected windows.

Keybindings added:

  • C-x 2: split current main window below
  • C-x 3: split current main window right
  • C-x o: cycle focus list → each main window → list
  • C-x 0: delete current window
  • C-x 1: delete other windows
  • C-x ^: enlarge current window vertically
  • C-x }: enlarge current window horizontally
  • C-x {: shrink current window horizontally

Also updates the help text and keymap tests for the new semantics.

Testing

  • cargo check -p agentd-cli
  • cargo test -p agentd-cli
  • cargo build

@edwin-zvs
edwin-zvs merged commit b507c9b into main May 30, 2026
1 check passed
@edwin-zvs
edwin-zvs deleted the tui-split-main-sessions branch May 30, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant