Use a flags bit for obscured rather than an int.

This commit is contained in:
Nicholas Marriott
2026-05-22 10:58:37 +01:00
parent 1fa6ebacf4
commit d3e8dd3623
3 changed files with 84 additions and 104 deletions

4
tmux.h
View File

@@ -1751,6 +1751,7 @@ struct tty_ctx {
#define TTY_CTX_OVERLAY_SYNC 0x10
#define TTY_CTX_CELL_DRAW_LINE 0x20
#define TTY_CTX_CELL_INVALIDATE 0x40
#define TTY_CTX_PANE_OBSCURED 0x80
u_int num;
void *ptr;
@@ -1787,9 +1788,6 @@ struct tty_ctx {
u_int woy;
u_int wsx;
u_int wsy;
/* tty partly obscured, it will need to be surgically scrolled. */
u_int obscured;
};
/* Saved message entry. */