Add screen write flags instead of individual bits and fix line length

calculation with padding.
This commit is contained in:
Nicholas Marriott
2020-05-14 13:18:05 +01:00
parent 0bdbf47ef9
commit 09a66451ce
3 changed files with 8 additions and 4 deletions

4
tmux.h
View File

@ -798,7 +798,9 @@ typedef void (*screen_write_init_ctx_cb)(struct screen_write_ctx *,
struct screen_write_ctx {
struct window_pane *wp;
struct screen *s;
int sync;
int flags;
#define SCREEN_WRITE_SYNC 0x1
screen_write_init_ctx_cb init_ctx_cb;
void *arg;