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-18 11:07:14 +00:00
parent c30fbd1d8d
commit 19cb1fb592
5 changed files with 44 additions and 34 deletions

3
tmux.1
View File

@ -1,4 +1,4 @@
.\" $Id: tmux.1,v 1.120 2009-07-18 11:06:09 nicm Exp $
.\" $Id: tmux.1,v 1.121 2009-07-18 11:07:14 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@ -768,6 +768,7 @@ returns success.
.Xc
.D1 (alias: Ic killp )
Destroy the given pane.
If no panes remain in the containing window, it is also destroyed.
.It Xo Ic kill-server
.Xc
Kill the