diff options
Diffstat (limited to 'src/core.py')
-rw-r--r-- | src/core.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py index 3c9f5077..af5b3992 100644 --- a/src/core.py +++ b/src/core.py @@ -3237,7 +3237,9 @@ class Core(object): self.doupdate() elif tab.state != old_state: self.refresh_tab_win() - self.current_tab().input.refresh() + current = self.current_tab() + if hasattr(current, 'input') and current.input: + current.input.refresh() self.doupdate() if 'message' in config.get('beep_on', 'highlight private').split(): |