mirror of
https://github.com/tmux/tmux.git
synced 2026-06-22 12:46:59 +00:00
A few fixes.
This commit is contained in:
@@ -36,8 +36,8 @@ const struct cmd_entry cmd_break_pane_entry = {
|
||||
|
||||
.args = { "abdPF:n:s:t:Wx:X:y:Y:", 0, 0, NULL },
|
||||
.usage = "[-abdPW] [-F format] [-n window-name] [-s src-pane] "
|
||||
"[-t dst-window] [x width] [y height] [X x-position] "
|
||||
"[Y y-position]",
|
||||
"[-t dst-window] [-x width] [-y height] [-X x-position] "
|
||||
"[-Y y-position]",
|
||||
|
||||
.source = { 's', CMD_FIND_PANE, 0 },
|
||||
.target = { 't', CMD_FIND_WINDOW, CMD_FIND_WINDOW_INDEX },
|
||||
|
||||
@@ -380,7 +380,7 @@ cmd_join_pane_tile(struct cmdq_item *item, struct args *args, struct window *w,
|
||||
layout_save_size(lc);
|
||||
lc->flags &= ~LAYOUT_CELL_FLOATING;
|
||||
if (layout_insert_tile(w, lc) == 0) {
|
||||
cmdq_error(item, "can't tile a pane that is already tiled");
|
||||
cmdq_error(item, "no space for a new pane");
|
||||
return (CMD_RETURN_ERROR);
|
||||
}
|
||||
|
||||
|
||||
@@ -136,7 +136,7 @@ cmd_tile_pane_exec(struct cmd *self, struct cmdq_item *item)
|
||||
layout_save_size(lc);
|
||||
lc->flags &= ~LAYOUT_CELL_FLOATING;
|
||||
if (layout_insert_tile(w, lc) == 0) {
|
||||
cmdq_error(item, "can't tile a pane that is already tiled");
|
||||
cmdq_error(item, "no space for a new pane");
|
||||
return (CMD_RETURN_ERROR);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user