Skip to content

Commit 374ef6e

Browse files
Disable terminal default ctrl-s behavior so it can be used for save.
1 parent 0746e55 commit 374ef6e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bpython/curtsies.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ def __init__(
6060
interp: code.InteractiveInterpreter = None,
6161
) -> None:
6262
self.input_generator = curtsies.input.Input(
63-
keynames="curtsies", sigint_event=True, paste_threshold=None
63+
keynames="curtsies",
64+
sigint_event=True,
65+
paste_threshold=None,
66+
disable_terminal_start_stop=True,
6467
)
6568
self.window = curtsies.window.CursorAwareWindow(
6669
sys.stdout,

0 commit comments

Comments
 (0)