mirror of
https://github.com/tmux/tmux.git
synced 2026-06-22 12:57:00 +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 },
|
.args = { "abdPF:n:s:t:Wx:X:y:Y:", 0, 0, NULL },
|
||||||
.usage = "[-abdPW] [-F format] [-n window-name] [-s src-pane] "
|
.usage = "[-abdPW] [-F format] [-n window-name] [-s src-pane] "
|
||||||
"[-t dst-window] [x width] [y height] [X x-position] "
|
"[-t dst-window] [-x width] [-y height] [-X x-position] "
|
||||||
"[Y y-position]",
|
"[-Y y-position]",
|
||||||
|
|
||||||
.source = { 's', CMD_FIND_PANE, 0 },
|
.source = { 's', CMD_FIND_PANE, 0 },
|
||||||
.target = { 't', CMD_FIND_WINDOW, CMD_FIND_WINDOW_INDEX },
|
.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);
|
layout_save_size(lc);
|
||||||
lc->flags &= ~LAYOUT_CELL_FLOATING;
|
lc->flags &= ~LAYOUT_CELL_FLOATING;
|
||||||
if (layout_insert_tile(w, lc) == 0) {
|
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);
|
return (CMD_RETURN_ERROR);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ cmd_tile_pane_exec(struct cmd *self, struct cmdq_item *item)
|
|||||||
layout_save_size(lc);
|
layout_save_size(lc);
|
||||||
lc->flags &= ~LAYOUT_CELL_FLOATING;
|
lc->flags &= ~LAYOUT_CELL_FLOATING;
|
||||||
if (layout_insert_tile(w, lc) == 0) {
|
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);
|
return (CMD_RETURN_ERROR);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user