If select-layout is not given an argument, repply the last layout used in the

window, if any.
This commit is contained in:
Nicholas Marriott
2009-07-28 06:48:44 +00:00
parent 309b76fb32
commit 2da4864483
6 changed files with 42 additions and 24 deletions

2
tmux.h
View File

@ -663,7 +663,7 @@ struct window {
struct window_pane *active;
struct window_panes panes;
u_int layout;
int lastlayout;
struct layout_cell *layout_root;
u_int sx;