When a cell is cleared after having been moved, we cannot reuse its

extended data, because that may still be in use. Add a flag to
grid_clear_cell to indicate this. Fixes irritating problems with ICH
(CSI @) mostly visible in emacs.
This commit is contained in:
nicm
2026-04-05 15:43:17 +00:00
parent 21da45e5c3
commit 4b0ff07bcb
3 changed files with 10 additions and 7 deletions

2
tmux.h
View File

@@ -3296,7 +3296,7 @@ int screen_select_cell(struct screen *, struct grid_cell *,
void screen_alternate_on(struct screen *, struct grid_cell *, int);
void screen_alternate_off(struct screen *, struct grid_cell *, int);
const char *screen_mode_to_string(int);
const char *screen_print(struct screen *);
const char *screen_print(struct screen *, int);
/* window.c */
extern struct windows windows;