Remember the last active pane in the top-bottom or left-right cell so

that it can be restored when moving back to that cell with selectp
-L/-R/etc. From Suraj N Kurapati.
This commit is contained in:
nicm
2014-01-28 22:19:17 +00:00
parent dda70d4ef1
commit c930fd5ff6
2 changed files with 74 additions and 4 deletions

2
tmux.h
View File

@@ -1028,6 +1028,8 @@ struct layout_cell {
u_int yoff;
struct window_pane *wp;
struct window_pane *lastwp;
struct layout_cells cells;
TAILQ_ENTRY(layout_cell) entry;