From 8903c1f167839569b7514508b38988aa6486575c Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 5 Feb 2013 11:08:59 +0000 Subject: Automatically reflow wrapped lines when a pane is resized, requested by many over the years and finally implemented by Richard Woodbury. --- tmux.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 9149f6b5..f6382a70 100644 --- a/tmux.h +++ b/tmux.h @@ -1964,6 +1964,7 @@ void grid_move_cells(struct grid *, u_int, u_int, u_int, u_int); char *grid_string_cells(struct grid *, u_int, u_int, u_int); void grid_duplicate_lines( struct grid *, u_int, struct grid *, u_int, u_int); +u_int grid_reflow(struct grid *, const struct grid *, u_int); /* grid-cell.c */ u_int grid_cell_width(const struct grid_cell *); @@ -2057,11 +2058,12 @@ void screen_reset_tabs(struct screen *); void screen_set_cursor_style(struct screen *, u_int); void screen_set_cursor_colour(struct screen *, const char *); void screen_set_title(struct screen *, const char *); -void screen_resize(struct screen *, u_int, u_int); +void screen_resize(struct screen *, u_int, u_int, int); void screen_set_selection(struct screen *, u_int, u_int, u_int, u_int, u_int, struct grid_cell *); void screen_clear_selection(struct screen *); int screen_check_selection(struct screen *, u_int, u_int); +void screen_reflow(struct screen *, u_int); /* window.c */ extern struct windows windows; -- cgit v1.2.3