Skip to content

Commit 92f67a9

Browse files
fix ctrl-c regression
1 parent 60fb6eb commit 92f67a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/curtsiesfrontend/coderunner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def sigint_handler(self, *args):
146146
raise KeyboardInterrupt()
147147
else:
148148
logging.debug('sigint while fufilling code request sigint handler running!')
149-
self.sigint_happened = True
149+
self.sigint_happened_in_main_greenlet = True
150150

151151
def _blocking_run_code(self):
152152
try:

0 commit comments

Comments
 (0)