diff options
author | nicm <nicm> | 2013-10-10 11:58:52 +0000 |
---|---|---|
committer | nicm <nicm> | 2013-10-10 11:58:52 +0000 |
commit | e6af0ad23e1a43add71dd09a03c05057aab26748 (patch) | |
tree | 57bb39790e3ed8e3eb07b43f93300eb5397af064 /cmd-pipe-pane.c | |
parent | 34674bb180176662d51b774cfcd9f335f329f235 (diff) |
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 'cmd-pipe-pane.c')
0 files changed, 0 insertions, 0 deletions