Thanks for reporting this. We’re aware of issues with the Ctrl+O compact toggle in certain terminal environments, including tmux.
To help narrow down the root cause, please clarify one thing: when you press Ctrl+O inside tmux, does absolutely nothing happen, or does the screen flash/flicker/reload without showing the expanded output? This distinction helps us determine whether the key isn’t being received at all, or if the re-render after the toggle is breaking in tmux.
Also: does Ctrl+O work when running the CLI directly in Ghostty (outside of tmux)? This would confirm whether the issue is tmux-specific.
In the meantime, a couple of things to try:
Enable extended keys in tmux to improve key sequence passthrough. Add to your .tmux.conf:
set -g extended-keys on
set -as terminal-features 'xterm-256color:extkeys'
Then reload with tmux source-file ~/.tmux.conf.
As @f00z suggested, you can also try unbinding C-o from tmux to rule out any interception:
tmux unbind-key -T prefix C-o
Our team is aware of this and related CLI+tmux interaction issues.