Linefeed scrolling screeni n alt screen with save to scrollback off clears selection [was: Long updates of Tmux statusline cause iTerm selection to deselect]
By j...@thekompanee.com on January 30, 2015 21:54 (imported from Google Code)
I pinged @gnachman on Twitter about this but I guess ya know, having a baby and stuff takes like TIME or whatever and he didn't respond so I thought I'd drop this in here. ;)
Seriously @gnachman, congratulations! :)
So the problem may be a Tmux issue and may be an iTerm issue. I honestly have no idea so I'm dropping the issue here first because it feels to me like an iTerm thing.
I've also attached a video which explains much better than what I can describe here.
Basically what it looks like is that, for short Tmux statusline updates, there's zero problem, but when it takes too long (or maybe a certain type of update) it causes the selection to deselect.
This may just be something I need to work around, but it thought it could also be a bug so I wanted to put it here.
Almost all of my shellfiles are public. Here are the most important files:
tmux.conf
https://github.com/jfelchner/shellwreck/blob/master/tmux/tmux.conf
thing that builds the lefthand prompt
https://github.com/jfelchner/shellwreck/blob/master/shell/plugins/tmux/bin/tmux-default-theme-status-left
thing that builds the righthand prompt
https://github.com/jfelchner/shellwreck/blob/master/shell/plugins/tmux/bin/tmux-default-theme-status-right
Specifically if I remove everything except '$(_sw_battery_percentage_prompt)' in the righthand prompt, the bug still persists.
Any help on whether this might be a bug, or direction for me to help solve this would be huge. It's barely possible for me to work with it the way it currently is.