From 374ef6e962d74fb585e3cd62d806c7e7cbb1fd60 Mon Sep 17 00:00:00 2001 From: Thomas Ballinger Date: Mon, 25 Oct 2021 09:14:58 -0700 Subject: [PATCH] Disable terminal default ctrl-s behavior so it can be used for save. --- bpython/curtsies.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bpython/curtsies.py b/bpython/curtsies.py index 86d33cf3..9b540698 100644 --- a/bpython/curtsies.py +++ b/bpython/curtsies.py @@ -60,7 +60,10 @@ def __init__( interp: code.InteractiveInterpreter = None, ) -> None: self.input_generator = curtsies.input.Input( - keynames="curtsies", sigint_event=True, paste_threshold=None + keynames="curtsies", + sigint_event=True, + paste_threshold=None, + disable_terminal_start_stop=True, ) self.window = curtsies.window.CursorAwareWindow( sys.stdout,