Live data from Hacker News

Show HN: cmux - Ghostty-based terminal with vertical tabs and notifications

github.com

51–60 of 81 posts

Re: Show HN: cmux - Ghostty-based terminal with vertical tabs and notifications

#52
post #51

Hm... any idea how I might script `git worktree` into the new-pane action? Currently experimenting with agent-of-empires for tmux+worktrees to parallelize code changes.

No built in way to override new-pane actions right now, but `cmux --help` can automate all parts of cmux.

So you can make your own script that can make new panels/workspaces and just invoke it from the terminal:

  git worktree add -b my-branch ../repo-my-branch
  ws=$(cmux new-workspace 2>&1 | awk '{print $2}')
  cmux send --workspace "$ws" "cd ../repo-my-branch && claude"
  cmux send-key --workspace "$ws" Enter
I think we should make this easier though, open to suggestions!

Re: Show HN: cmux - Ghostty-based terminal with vertical tabs and notifications

#55
post #5

Just took it for a spin, thought it was pretty nice. Some quirks with the tab dragging, you never really know what it's going to do on mouseup, a drop-target indicator would help. Would love to be able to color the sidebar tab. Nice work!

Thanks! Will add drop target and sidebar coloring.

Should be in latest release!

Re: Show HN: cmux - Ghostty-based terminal with vertical tabs and notifications

#56
Hey, this looks seriously awesome. Love the ideas here, specifically: the programmability (I haven't tried it yet, but had been considering learning tmux partly for this), layered UI, browser w/ api. Looking forward to giving this a spin. Also want to add that I really appreciate Mitchell Hashimoto creating libghostty; it feels like an exciting time to be a terminal user.

Some feedback (since you were asking for it elsewhere in the thread!). Happy to go into more detail about any of these if it's helpful:

- It's not obvious/easy to open browser dev tools (cmd-alt-i didn't work), and when I did find it (right click page -> inspect element) none of the controls were visible but I could see stuff happening when I moved my mouse over the panel

- Would be cool to borrow more of ghostty's behavior:

  - hotkey overrides - I have some things explicitly unmapped / remapped in my ghostty config that conflict with some cmux keybindings and weren't respected

  - command palette (cmd-shift-p) for less-often-used actions + discoverability

  - cmd-z to "zoom in" to a pane is enormously useful imo

Re: Show HN: cmux - Ghostty-based terminal with vertical tabs and notifications

#57

Hey, this looks seriously awesome. Love the ideas here, specifically: the programmability (I haven't tried it yet, but had been considering learning tmux partly for this), layered UI, browser w/ api. Looking forward to giving this a spin. Also want to add that I really appreciate Mitchell Hashimoto creating libghostty; it feels like an exciting time to be a terminal user. Some feedback (since you were asking for it e…

Thanks for the feedback! Mitchell Hashimoto is awesome. Have a PR for fixing devtools here: https://github.com/manaflow-ai/cmux/pull/117

> hotkey overrides - I have some things explicitly unmapped / remapped in my ghostty config that conflict with some cmux keybindings and weren't respected

We need to be better about this; right now you can modify keyboard shorcuts with cmd+, in the GUI. Planning on making it a config file in the spirit of ghostty though, not sure if we want to reuse ghostty's config file though since it might become a maintenance burden for them...

> command palette (cmd-shift-p) for less-often-used actions + discoverability

yes

> cmd-z to "zoom in" to a pane is enormously useful imo

Thinking of the right way to design this. Like hypothetically we can expand it, but what happens if you make a vertical/horizontal split, or cmd+t to make a new tab? I guess we could just "merge" it back into the original space which would be pretty cool.

Re: Show HN: cmux - Ghostty-based terminal with vertical tabs and notifications

#59
post #49

Have you looked into zmx? [0] It doesn't have built-in notifications and there's no panel to see all the open sessions, but I wonder how hard that would be to add. I've used zmx since I ran into it a few weeks ago. Uses libghostty as well. It's great because it allows me to replace tmux completely in all my ssh sessions, and can keep one session per assistant. [0]: https://github.com/neurosnap/zmx

zmx solves persistence well, and I like their minimalism (not supporting windows, tabs, or splits). I think it's possible to make a CLI wrapper for zmx that adds notifications though, so you can have some niceties of cmux without switching to a new terminal. Lowkey we might explore this direction as well.

ive been working on glue for zmx+kitty (would do ghostty if it had proper ipc/scripting support). just changed the repo visibility on on gh cwelsys/kmux.

Re: Show HN: cmux - Ghostty-based terminal with vertical tabs and notifications

#60
post #23

Earlier quoted context omitted.

> copy-paste support that I have in my Ghostty Want to fix this, how do I reproduce? Select with mouse and cmd+c seems to work for me.

Oh thank you. Perhaps it's something in my Ghostty. Here's a gist to work with: https://gist.github.com/roshan/b2a073e2377f370ce83cf7c4ea6d8... I'm on MacOS 15.7.4 on an M4 Max Macbook

Should be fixed in latest release (0.58.0). Please let me know if it's still an issue!
Post reply on HN