aboutsummaryrefslogtreecommitdiff
path: root/osdep-linux.c
diff options
context:
space:
mode:
authorThomas <thomas@xteddy.org>2013-08-09 10:37:46 +0100
committerThomas Adam <thomas@xteddy.org>2013-08-20 00:05:28 +0100
commitaa4920fea3dcdcaa0dbe4d373160195b1a3ca892 (patch)
tree389503aa617fc5aa8030dfd20114b3d849e07c77 /osdep-linux.c
parent5532766b1935a8888fb60fb9a238f0849b96050b (diff)
downloadrtmux-aa4920fea3dcdcaa0dbe4d373160195b1a3ca892.tar.gz
rtmux-aa4920fea3dcdcaa0dbe4d373160195b1a3ca892.tar.bz2
rtmux-aa4920fea3dcdcaa0dbe4d373160195b1a3ca892.zip
choose-tree: Reset top when toggling items
When choose-tree is told to expand/collapse items (especially when first rendering collapsed to just show sessions), ensure that in addition to setting the selected item, that the item itself appears on the bottom of the screen, rather than off screen. This was causing rendering glitches when a very small tmux window tried to render a list of items in choose-tree much larger than itself, and the selected item appeared off screen, and didn't show the selection until the selection had wrapped around to the top of the screen.
Diffstat (limited to 'osdep-linux.c')
0 files changed, 0 insertions, 0 deletions