#TUI lag
1 messages ยท Page 1 of 1 (latest)
not laggy. flicker is the word I was looking for. It's jarringly flickery when verbosity goes up
that's weird, it's supposed to be using terminal synchronization primitives to avoid that
Do you have a good rec for a screen recorder for mac? I can record try to record it
i think quicktime can do it
It happened both on my work laptop and persona. They are both M4 macs though

trying to repro in ghostty, nothing yet - i'm on linux, can try a mac tomorrow
if i run anything huge like dagger checks --scale-out in dagger (~50 checks) on max verbosity, it does start to lag a bit, but i don't see the churning in that video
ooh, forgot to mention. I'm on tmux. Let me try on just ghostty
That's it. Just ghostty is much better. So the issue is with tmux :(. The previous TUI didn't have the flicker though.
Ah interesting - do you have a scrollback limit in tmux?
I have not set a limit. Attaching my config.

That's exactly what I'm seeing. It's crippling tbh. I can't take my eyes off of it sometimes ๐
for context, this goes hand in hand with preserving scrollback, which is one of the main features of the new framework. unfortunately when the output exceeds screen height, and content above the viewport has to change, the only real option is to clear and repaint. if the terminal emulator supports synchronized output (ghostty, any good terminal in 2026) you won't notice it happening, but it looks like tmux doesn't support synchronized output: https://github.com/tmux/tmux/issues/4299
though it does look like they merged support for it into master but maybe it hasn't shipped yet? https://github.com/tmux/tmux/commit/1c7e164c22a3cb21d1e281087cd4aaa489d72b84
doesn't quite work ๐
will look into it soon, thanks for the report and sorry about that! likely need to just go into a less ambitious mode when running in tmux, or minimize offscreen updates for spinners etc. - i'll iterate and try not to sacrifice too much, tmux is important
Thank you! I have't found a good enough alternative. I'm eagerly waiting on ghostty to add session management.
FWIW this seems to also impact my nvim terminals (which share the same sort of problems as tmux afaik)
makes sense yeah
maybe over the weekend I'll try "codex, implement synchronized output support for neovim terminals, then update my dev environment to build and use that fork" ๐
@void valley here's a PR if you want to try out a local build (if it's worth the trouble)
now it detects when sync write support is missing and limits the UI to the viewport, using an alt screen
I can test on my personal Mac. What's the PR?
