mirror of
https://github.com/mfontanini/presenterm.git
synced 2026-09-01 23:33:21 -06:00
fix: Restore proper theme and formatting in exports
which was previously broken due to the change in behavior when merging text styles.
This commit is contained in:
parent
828d0956fa
commit
7c661be152
@ -143,7 +143,7 @@ impl VirtualTerminal {
|
||||
}
|
||||
|
||||
fn print_text(&mut self, content: &str, style: &TextStyle) -> io::Result<()> {
|
||||
let style = style.merged(&TextStyle::default().colors(self.colors));
|
||||
let style = TextStyle::default().colors(self.colors).merged(style);
|
||||
for c in content.chars() {
|
||||
let Some(cell) = self.current_cell_mut() else {
|
||||
continue;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user