From 1241b457a2c904c3d40e20a5070cdbb0a70a341d Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 7 Jan 2010 20:52:19 +0000 Subject: New command, join-pane, to split and move an existing pane into the space (like splitw then movep, or the reverse of breakp). --- usr.bin/tmux/tmux.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'usr.bin/tmux/tmux.h') diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 259401d0537..3a4b409031c 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.197 2010/01/03 12:51:05 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.198 2010/01/07 20:52:18 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -1437,6 +1437,7 @@ extern const struct cmd_entry cmd_down_pane_entry; extern const struct cmd_entry cmd_find_window_entry; extern const struct cmd_entry cmd_has_session_entry; extern const struct cmd_entry cmd_if_shell_entry; +extern const struct cmd_entry cmd_join_pane_entry; extern const struct cmd_entry cmd_kill_pane_entry; extern const struct cmd_entry cmd_kill_server_entry; extern const struct cmd_entry cmd_kill_session_entry; @@ -1833,8 +1834,9 @@ void layout_free(struct window *); void layout_resize(struct window *, u_int, u_int); void layout_resize_pane( struct window_pane *, enum layout_type, int); -int layout_split_pane(struct window_pane *, - enum layout_type, int, struct window_pane *); +void layout_assign_pane(struct layout_cell *, struct window_pane *); +struct layout_cell *layout_split_pane( + struct window_pane *, enum layout_type, int); void layout_close_pane(struct window_pane *); /* layout-set.c */ -- cgit v1.2.3