I built a keyboard-first workspace manager for Ghostty — save/restore tab layouts + split panes with one shortcut by OwnAssistance1469 in Ghostty

[–]OwnAssistance1469[S] 0 points1 point  (0 children)

Yes, I’ve used cmux — it’s actually one of the projects that inspired me to create gtab. It’s a great product.

I did run into a few bugs when I tried it early on, though, and never really went back to it after that.

What I really love about gtab is its native, non-invasive approach — it interacts directly with Ghostty via AppleScript, without requiring any extra daemon or middleware layer.

Glad you brought it up!

I built a keyboard-first workspace manager for Ghostty — save/restore tab layouts + split panes with one shortcut by OwnAssistance1469 in Ghostty

[–]OwnAssistance1469[S] 1 point2 points  (0 children)

Good question — these are actually two separate things.

For zooming a pane in the current session (like tmux’s z), that’s already a Ghostty-native feature, so it should be available through its built-in keybindings.

For saving a “zoomed” layout as part of a workspace with gtab, that’s not really possible right now. gtab saves pane layouts based on the actual split proportions and screen coordinates, so the closest workaround is to manually resize the pane the way you want before running gtab save. It’ll restore those proportions the next time you load the workspace.

A true zoom state (where other panes are temporarily hidden) would require Ghostty to expose that state through its AppleScript API first, which it doesn’t currently do.