trigger a redraw after screen change
This commit is contained in:
@@ -78,6 +78,9 @@ impl Layout {
|
|||||||
self.focus = Some(s);
|
self.focus = Some(s);
|
||||||
self.cmdline_focus = false;
|
self.cmdline_focus = false;
|
||||||
self.screenchange = true;
|
self.screenchange = true;
|
||||||
|
|
||||||
|
// trigger a redraw
|
||||||
|
self.ev.trigger();
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn set_error<S: Into<String>>(&mut self, error: S) {
|
pub fn set_error<S: Into<String>>(&mut self, error: S) {
|
||||||
|
|||||||
Reference in New Issue
Block a user