1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-21 11:50:42 +03:00

ensure that we reset attributes to defaults when producing escapes

refs: https://github.com/wez/wezterm/issues/2223
This commit is contained in:
Wez Furlong 2022-07-06 07:21:08 -07:00
parent dc9e6ad3ef
commit 082c61c2c3

View File

@ -243,6 +243,7 @@ fn lines_to_escapes(lines: Vec<Line>) -> anyhow::Result<String> {
attr = a.clone();
}
}
changes.push(Change::AllAttributes(CellAttributes::blank()));
let mut renderer = new_wezterm_terminfo_renderer();
struct Target {