diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2013-02-05 11:08:59 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2013-02-05 11:08:59 +0000 |
commit | 8903c1f167839569b7514508b38988aa6486575c (patch) | |
tree | 8f57ca70d42fa94d4bbef04341b6ecac62f1b7f9 /tmux.h | |
parent | a5521597b0e0771d5ad698bba92801ea88302c4f (diff) | |
download | rtmux-8903c1f167839569b7514508b38988aa6486575c.tar.gz rtmux-8903c1f167839569b7514508b38988aa6486575c.tar.bz2 rtmux-8903c1f167839569b7514508b38988aa6486575c.zip |
Automatically reflow wrapped lines when a pane is resized, requested by
many over the years and finally implemented by Richard Woodbury.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |