Repository navigation
feat(tui): preview split layouts in tabs pane - #5
Conversation
|
Thanks a lot for the contribution, @davidsanchez222! 🙌 Got it — I'll review this as soon as I have some time. Appreciate your patience! |
bbe149a to
b4d984c
Compare
Ship the split-layout preview from PR #5 (David Sanchez). The TUI's right-hand tabs pane now renders a visual split layout for each saved workspace tab. Single-pane tabs still show their working directory; multi-pane tabs render a tree of horizontal/vertical splits using box-drawing characters so you can recognize a workspace from the shape of its panes before you launch it. Adds two new public types in `core`: - `WorkspacePaneLayout` (Leaf / SplitRight / SplitDown enum) describing the recursive pane tree. - `WorkspaceTabLayout` (title + root pane) describing one tab. `Workspace` gains a `layout: Vec<WorkspaceTabLayout>` field populated when listing workspaces. Existing `.applescript` files are unchanged on disk; the layout is parsed at read time, so no migration is needed. Workspace launch, save / rename / delete, Directory Space, filter UX, and the Ghostty shortcut flow are all unchanged.
|
Thanks for another great contribution, @davidsanchez222! 🎉 Rebased onto Released as v1.6.0: https://github.com/Franvy/gtab/releases/tag/v1.6.0 Users can pick it up with |
better visual representation of how the tabs/splits were laid out
old
new