cmux/Sources
Lawrence Chen 600683cd7d
Add --panel flag to new-split command (#10)
* Add --panel flag to new-split command

Allows splitting a specific panel without changing focus first.

Usage: cmuxterm new-split <direction> [--panel <id|index>]

Example: cmuxterm new-split down --panel 1

* Return new panel ID from new-split command

new-split now returns the UUID of the newly created panel, enabling
reliable chaining of split operations without index drift issues.

Before: OK
After:  OK F2675177-3838-49AF-A1A0-1744C0048E99

Example workflow to create left + 2x2 grid on right:
  RIGHT=$(cmuxterm new-split right | awk '{print $2}')
  BOTTOM=$(cmuxterm new-split down --panel $RIGHT | awk '{print $2}')
  cmuxterm new-split right --panel $RIGHT
  cmuxterm new-split right --panel $BOTTOM
2026-02-03 21:37:49 -08:00
..
Find Fix find focus and align search with Ghostty 2026-01-29 20:36:32 -08:00
Splits Fix find focus and align search with Ghostty 2026-01-29 20:36:32 -08:00
Update Fix focus-on-scroll and harden reload scripts 2026-01-30 16:46:30 -08:00
AppDelegate.swift Fix focus-on-scroll and harden reload scripts 2026-01-30 16:46:30 -08:00
Backport.swift Fix find focus and align search with Ghostty 2026-01-29 20:36:32 -08:00
cmuxApp.swift Fix focus-on-scroll and harden reload scripts 2026-01-30 16:46:30 -08:00
ContentView.swift Normalize window controls and confirm close panel 2026-01-29 02:20:54 -08:00
GhosttyConfig.swift Add cmuxterm CLI and socket control modes 2026-01-28 21:19:48 -08:00
GhosttyTerminalView.swift Add --panel flag to new-split command (#10) 2026-02-03 21:37:49 -08:00
KeyboardShortcutSettings.swift Add KeyboardShortcutSettings to enable customizable shortcuts 2026-01-29 19:01:20 -08:00
NotificationsPage.swift Fix high CPU usage from notifications and add regression tests 2026-01-29 17:02:16 -08:00
SocketControlSettings.swift Add cmuxterm CLI and socket control modes 2026-01-28 21:19:48 -08:00
TabManager.swift Add --panel flag to new-split command (#10) 2026-02-03 21:37:49 -08:00
TerminalController.swift Add --panel flag to new-split command (#10) 2026-02-03 21:37:49 -08:00
TerminalNotificationStore.swift Add cmuxterm CLI and socket control modes 2026-01-28 21:19:48 -08:00
TerminalView.swift Revert "Add Ghostty-style scrollbars and focus handling" 2026-01-22 03:48:23 -08:00
WindowAccessor.swift Add cmuxterm CLI and socket control modes 2026-01-28 21:19:48 -08:00
WindowDecorationsController.swift Update app and tooling 2026-01-29 17:36:26 -08:00
WindowToolbarController.swift Fix high CPU usage from notifications and add regression tests 2026-01-29 17:02:16 -08:00