From 2738988fc47f0f068b6c78e556760a0dbca8d932 Mon Sep 17 00:00:00 2001 From: sigoden Date: Tue, 9 Apr 2024 07:17:02 +0800 Subject: feat: add `ctrlc_exit` option to control REPL exit by ctrl+c (#391) --- config.example.yaml | 1 + 1 file changed, 1 insertion(+) (limited to 'config.example.yaml') diff --git a/config.example.yaml b/config.example.yaml index 3e1eb59..52a1593 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -6,6 +6,7 @@ highlight: true # Set false to turn highlight light_theme: false # Whether to use a light theme wrap: no # Specify the text-wrapping mode (no, auto, ) wrap_code: false # Whether wrap code block +ctrlc_exit: true # Whether to exit REPL by pressing Ctrl+C twice auto_copy: false # Automatically copy the last output to the clipboard keybindings: emacs # REPL keybindings. (emacs, vi) prelude: '' # Set a default role or session (role:, session:) -- cgit v1.2.3