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

calculation with padding.
This commit is contained in:
nicm
2020-05-16 16:22:01 +00:00
parent 303d342d5f
commit ecbdcc256f
3 changed files with 8 additions and 4 deletions

4
tmux.h
View File

@ -796,7 +796,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;