summaryrefslogtreecommitdiffstats
path: root/config.example.yaml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-04-09 07:17:02 +0800
committerGitHub <noreply@github.com>2024-04-09 07:17:02 +0800
commit2738988fc47f0f068b6c78e556760a0dbca8d932 (patch)
tree7943fea61bc0650aa6fb1b6baeebe5d8a5a156b6 /config.example.yaml
parent3a0cafebd9965eec55864a0864684223d2fb3d8d (diff)
downloadaichat-2738988fc47f0f068b6c78e556760a0dbca8d932.tar.gz
feat: add `ctrlc_exit` option to control REPL exit by ctrl+c (#391)
Diffstat (limited to 'config.example.yaml')
-rw-r--r--config.example.yaml1
1 files changed, 1 insertions, 0 deletions
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, <max-width>)
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:<name>, session:<name>)