diff options
author | nicm <nicm> | 2020-04-18 15:12:28 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-04-18 15:12:28 +0000 |
commit | ea5fdd5331d74d305cbb61b8f47a2054fc2052fb (patch) | |
tree | ebe52901160914249989cc202cae7b300f55e5bc /tmux.h | |
parent | 4a93294152efb921bb5bada71164c47a57518e31 (diff) | |
download | rtmux-ea5fdd5331d74d305cbb61b8f47a2054fc2052fb.tar.gz rtmux-ea5fdd5331d74d305cbb61b8f47a2054fc2052fb.tar.bz2 rtmux-ea5fdd5331d74d305cbb61b8f47a2054fc2052fb.zip |
There is no point in keeping a bunch of different text buffers for each
line when writing, we only need one as big as the line width - there
can't be any more text than that since newer will overwrite older.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -769,6 +769,8 @@ struct screen { bitstr_t *tabs; struct screen_sel *sel; + + struct screen_write_collect_line *write_list; }; /* Screen write context. */ @@ -2380,6 +2382,8 @@ void grid_view_delete_cells(struct grid *, u_int, u_int, u_int, u_int); char *grid_view_string_cells(struct grid *, u_int, u_int, u_int); /* screen-write.c */ +void screen_write_make_list(struct screen *); +void screen_write_free_list(struct screen *); void screen_write_start(struct screen_write_ctx *, struct window_pane *, struct screen *); void screen_write_stop(struct screen_write_ctx *); |