Make it so using kill-pane to destroy the last pane in a window destroys the

window instead of being an error.
This commit is contained in:
Nicholas Marriott
2009-07-17 20:37:03 +00:00
parent 6f5150a943
commit 0ca6f667e3
5 changed files with 39 additions and 29 deletions

1
tmux.h
View File

@ -1284,6 +1284,7 @@ void server_redraw_window(struct window *);
void server_status_window(struct window *);
void server_lock(void);
int server_unlock(const char *);
void server_kill_window(struct window *);
/* status.c */
int status_redraw(struct client *);