If splitw -b is used, insert the new pane before the current one in the

pane list. This means the numbering is in order (for example for
display-panes) and fixes a problem with redrawing the active pane
borders.
This commit is contained in:
nicm
2017-02-27 13:07:57 +00:00
parent 0414b1fc78
commit e741a0bcd7
3 changed files with 13 additions and 10 deletions

2
tmux.h
View File

@ -2066,7 +2066,7 @@ int window_set_active_pane(struct window *, struct window_pane *);
void window_redraw_active_switch(struct window *,
struct window_pane *);
struct window_pane *window_add_pane(struct window *, struct window_pane *,
u_int);
int, u_int);
void window_resize(struct window *, u_int, u_int);
int window_zoom(struct window_pane *);
int window_unzoom(struct window *);