mirror of
https://github.com/tmux/tmux.git
synced 2026-06-20 17:25:57 +00:00
Add support for floating panes to resize-pane, from Dane Jensen.
This commit is contained in:
7
tmux.h
7
tmux.h
@@ -87,8 +87,9 @@ struct winlink;
|
||||
#define TMUX_TERM "screen"
|
||||
#endif
|
||||
|
||||
/* Minimum layout cell size, NOT including border lines. */
|
||||
/* Minimum and maximum layout cell size, NOT including border lines. */
|
||||
#define PANE_MINIMUM 1
|
||||
#define PANE_MAXIMUM 10000
|
||||
|
||||
/* Minimum and maximum window size. */
|
||||
#define WINDOW_MINIMUM PANE_MINIMUM
|
||||
@@ -3492,6 +3493,10 @@ void layout_resize_pane(struct window_pane *, enum layout_type,
|
||||
int, int);
|
||||
void layout_resize_pane_to(struct window_pane *, enum layout_type,
|
||||
u_int);
|
||||
void layout_resize_floating_pane(struct window_pane *,
|
||||
enum layout_type, int, int, char **);
|
||||
void layout_resize_floating_pane_to(struct window_pane *,
|
||||
enum layout_type, u_int, char **);
|
||||
void layout_assign_pane(struct layout_cell *, struct window_pane *,
|
||||
int);
|
||||
struct layout_cell *layout_split_pane(struct window_pane *, enum layout_type,
|
||||
|
||||
Reference in New Issue
Block a user