Add move-pane command (like join-pane but allows the same window). Also

-b flag to join-pane and move-pane to place the pane to the left or
above. From George Nachman.
This commit is contained in:
Nicholas Marriott
2012-03-03 08:31:18 +00:00
parent 4d9ccd3229
commit 07ac16807f
6 changed files with 80 additions and 18 deletions

3
tmux.h
View File

@ -1605,6 +1605,7 @@ extern const struct cmd_entry cmd_load_buffer_entry;
extern const struct cmd_entry cmd_lock_client_entry;
extern const struct cmd_entry cmd_lock_server_entry;
extern const struct cmd_entry cmd_lock_session_entry;
extern const struct cmd_entry cmd_move_pane_entry;
extern const struct cmd_entry cmd_move_window_entry;
extern const struct cmd_entry cmd_new_session_entry;
extern const struct cmd_entry cmd_new_window_entry;
@ -1999,7 +2000,7 @@ void layout_resize_pane_mouse(
struct client *c, struct mouse_event *mouse);
void layout_assign_pane(struct layout_cell *, struct window_pane *);
struct layout_cell *layout_split_pane(
struct window_pane *, enum layout_type, int);
struct window_pane *, enum layout_type, int, int);
void layout_close_pane(struct window_pane *);
/* layout-custom.c */