Fix char panel showing even if disabled

This commit is contained in:
Sharif Haason authored and David Peter committed 2022-11-13 22:15:41 +01:00
1 parent d98c6edb55
commit daa40900bd
1 file changed
+3 -1
+3 -1
View File
@@ -602,7 +602,9 @@ impl<'a, Writer: Write> Printer<'a, Writer> {
write!(self.writer, " {}", self.border_style.inner_sep())?;
}
}
self.print_char_panel()?;
if self.show_char_panel {
self.print_char_panel()?;
}
}
}