mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 06:17:04 +00:00
break-pane command to split a pane off into a new window; bound to ! by default.
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user