blow shaper cache when config is reloaded

It may be fine to preserve across a reload, but it doesn't hurt
much to blow it to be sure.
This commit is contained in:
Wez Furlong committed 2020-01-27 20:56:47 -08:00
1 parent f5568b777b
commit f6df70a1df
1 file changed
+1
+1
View File
@@ -838,6 +838,7 @@ impl TermWindow {
self.show_tab_bar = config.enable_tab_bar;
self.show_scroll_bar = config.enable_scroll_bar;
self.shape_cache.borrow_mut().clear();
self.keys = KeyMap::new();
let dimensions = self.dimensions;
let cell_dims = self.current_cell_dimensions();