mirror of
https://github.com/wez/wezterm.git
synced 2024-11-27 02:25:28 +03:00
term: reset to single width line when clearing a line
Previously overlooked because we didn't render or otherwise change behavior: after running vttest and running ls, some lines still had double width/height set. This ensures that we remove that attribute when clearing the screen.
This commit is contained in:
parent
1b63b4b7c9
commit
f89f2b5248
@ -1887,6 +1887,8 @@ impl TerminalState {
|
||||
let screen = self.screen_mut();
|
||||
for y in row_range.clone() {
|
||||
screen.clear_line(y, col_range.clone(), &pen, seqno, bidi_mode);
|
||||
let line_idx = screen.phys_row(y);
|
||||
screen.line_mut(line_idx).set_single_width(seqno);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user