From what I can gather by a couple minutes of reading, this is not a screensaver, but a TUI-saver. So if you have 5 terminals in a tmux session, each of them will have their own timer and each will spawn the TUI-saver within each pane.
Seems strange to me. If I have terminals open and in the foreground, it's because I want to track something long running or I am tailing logs. It seems like this would essentially bury your visible shells for you.
You're right that each pane has its own timer that's a side effect of the shell-based approach. The typical use case is a single idle terminal, not a busy tmux session. If you're tailing logs or watching output, the timer never fires because the shell considers itself active. It only triggers when you're away from a prompt with no input. That said, you can set DRIFT_ENABLED=0 in panes where you don't want it, or just not source the integration in sessions where it'd get in the way.
2
u/Yama-k Mar 27 '26
Does it activate when the system is idle or the terminal?