diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-03-07 09:29:54 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-03-07 09:29:54 +0000 |
commit | 56f80a5b09ce98e3bdbef5c3e24fd092e55ed33f (patch) | |
tree | 738f7054a872d1330329f29189b137107d2aa864 /cmd-kill-pane.c | |
parent | 8a6a7e74da70400cc98e7596c7d9d19848ca3aa1 (diff) | |
download | rtmux-56f80a5b09ce98e3bdbef5c3e24fd092e55ed33f.tar.gz rtmux-56f80a5b09ce98e3bdbef5c3e24fd092e55ed33f.tar.bz2 rtmux-56f80a5b09ce98e3bdbef5c3e24fd092e55ed33f.zip |
break-pane command to split a pane off into a new window; bound to ! by default.
Diffstat (limited to 'cmd-kill-pane.c')
-rw-r--r-- | cmd-kill-pane.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-kill-pane.c b/cmd-kill-pane.c index aaeea59b..73e36cb9 100644 --- a/cmd-kill-pane.c +++ b/cmd-kill-pane.c @@ -1,4 +1,4 @@ -/* $Id: cmd-kill-pane.c,v 1.3 2009-01-19 18:23:40 nicm Exp $ */ +/* $Id: cmd-kill-pane.c,v 1.4 2009-03-07 09:29:54 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -64,8 +64,8 @@ cmd_kill_pane_exec(struct cmd *self, struct cmd_ctx *ctx) ctx->error(ctx, "can't kill pane: %d", data->pane); return (-1); } + window_remove_pane(wl->window, wp); server_redraw_window(wl->window); - return (0); } |