Continuous "activity detected" within tmux
I tried using tmux's monitor-activity setting to mark a background window containing iamb when something changes, but this seems to trigger the instant I move off the window. I wonder if iamb is continuously re-rendering instead of only on changes? I'm not sure how else this would be being triggered.
iamb has a 1 second timeout where if it it doesn't get a keypress it will redraw the screen in case there are any changes (new messages, typing notifications, new device verifications, etc.). I thought that ratatui would avoid writing anything out to the terminal in the case that nothing changes, but maybe it writes some constant number of bytes regardless of how much has actually changed. (It's also possible that there is something small changing each time, like the read notification markers.)
I don't think it's the 1 second timeout, the marker appears instantly when I switch away. I did just notice that the rendering changes when focus is lost (> on current entryline disappears and cursor changed from filled to outline), so maybe that's what's being detected, though I'd hope that tmux waits till after the focus loss event to start detecting new activity.