Work out if a pane is obscured by another one when drawing.

This commit is contained in:
nicm
2026-05-22 11:55:43 +00:00
parent 36bc351557
commit d45a9cad8c
2 changed files with 66 additions and 26 deletions

3
tmux.h
View File

@@ -1021,6 +1021,8 @@ struct screen_write_ctx {
int flags;
#define SCREEN_WRITE_SYNC 0x1
#define SCREEN_WRITE_OBSCURED 0x2
#define SCREEN_WRITE_CHECKED_IF_OBSCURED 0x4
screen_write_init_ctx_cb init_ctx_cb;
void *arg;
@@ -1703,6 +1705,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
union {
u_int n;