summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core.py4
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():