mirror of
https://github.com/tmux/tmux.git
synced 2024-10-31 22:58:49 +00:00
Fix size of rightmost preview section.
This commit is contained in:
parent
9913cce3ba
commit
bfaa885f10
@ -512,7 +512,7 @@ window_tree_draw_session(struct window_tree_modedata *data, struct session *s,
|
|||||||
else
|
else
|
||||||
offset = (i * each);
|
offset = (i * each);
|
||||||
if (loop == end - 1)
|
if (loop == end - 1)
|
||||||
width = each - 1 + remaining;
|
width = each + remaining;
|
||||||
else
|
else
|
||||||
width = each - 1;
|
width = each - 1;
|
||||||
|
|
||||||
@ -638,7 +638,7 @@ window_tree_draw_window(struct window_tree_modedata *data, struct session *s,
|
|||||||
else
|
else
|
||||||
offset = (i * each);
|
offset = (i * each);
|
||||||
if (loop == end - 1)
|
if (loop == end - 1)
|
||||||
width = each - 1 + remaining;
|
width = each + remaining;
|
||||||
else
|
else
|
||||||
width = each - 1;
|
width = each - 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user