aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2020-04-18 15:12:28 +0000
committernicm <nicm>2020-04-18 15:12:28 +0000
commitea5fdd5331d74d305cbb61b8f47a2054fc2052fb (patch)
treeebe52901160914249989cc202cae7b300f55e5bc /tmux.h
parent4a93294152efb921bb5bada71164c47a57518e31 (diff)
downloadrtmux-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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index edc2f377..b8bcfe5b 100644
--- a/tmux.h
+++ b/tmux.h
@@ -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 *);