diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-17 20:37:04 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-17 20:37:04 +0000 |
commit | 4bc25501db8414c43e694bbd75cc3e2c8e3c40d5 (patch) | |
tree | dd5fc5c9f31edad51426459d45326b13a8a1df23 /usr.bin/tmux/tmux.h | |
parent | ac7475a98ccdb093fb64cb987f661dda0598b077 (diff) |
Make it so using kill-pane to destroy the last pane in a window destroys the
window instead of being an error.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index ed504446be7..919a1367679 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.36 2009/07/17 18:45:08 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.37 2009/07/17 20:37:03 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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 *); |