diff options
author | 2020-04-18 15:12:28 +0000 | |
---|---|---|
committer | 2020-04-18 15:12:28 +0000 | |
commit | 977b63386eb1e02a54fd076a39f11cf3a7dfe539 (patch) | |
tree | 127ce1d2485d51270f5ee27f394f7a4fbc872590 /usr.bin/tmux/tmux.h | |
parent | Add a colon after the name/path/argument to conform to POSIX. (diff) | |
download | wireguard-openbsd-977b63386eb1e02a54fd076a39f11cf3a7dfe539.tar.xz wireguard-openbsd-977b63386eb1e02a54fd076a39f11cf3a7dfe539.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 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 567d967b5f9..e286c3c979e 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.1007 2020/04/18 14:21:39 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.1008 2020/04/18 15:12:28 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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 *); |