We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf5cf3c commit aabcd6dCopy full SHA for aabcd6d
bpython/curtsiesfrontend/interaction.py
@@ -3,7 +3,7 @@
3
import curtsies.events as events
4
5
from bpython.repl import Interaction as BpythonInteraction
6
-
+from bpython.curtsiesfrontend.events import RefreshRequestEvent
7
from bpython.curtsiesfrontend.manual_readline import edit_keys
8
9
class StatusBar(BpythonInteraction):
@@ -67,7 +67,7 @@ def _check_for_expired_message(self):
67
def process_event(self, e):
68
"""Returns True if shutting down"""
69
assert self.in_prompt or self.in_confirm or self.waiting_for_refresh
70
- if isinstance(e, events.RefreshRequestEvent):
+ if isinstance(e, RefreshRequestEvent):
71
self.waiting_for_refresh = False
72
self.request_greenlet.switch()
73
elif isinstance(e, events.PasteEvent):
0 commit comments