mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Correctly remove overwritten wide characters at column 1.
This commit is contained in:
@ -1782,9 +1782,13 @@ screen_write_collect_end(struct screen_write_ctx *ctx)
|
||||
grid_view_set_cell(s->grid, xx, s->cy,
|
||||
&grid_default_cell);
|
||||
}
|
||||
if (gc.data.width > 1) {
|
||||
grid_view_set_cell(s->grid, xx, s->cy,
|
||||
&grid_default_cell);
|
||||
if (xx != s->cx) {
|
||||
if (xx == 0)
|
||||
grid_view_get_cell(s->grid, 0, s->cy, &gc);
|
||||
if (gc.data.width > 1) {
|
||||
grid_view_set_cell(s->grid, xx, s->cy,
|
||||
&grid_default_cell);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user