diff options
| author | sigoden <sigoden@gmail.com> | 2024-04-20 07:53:31 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-20 07:53:31 +0800 |
| commit | 8b806db85791a23f9725adbe09f414464adb6605 (patch) | |
| tree | 2c90336411eb14e674f7a001c2373a49cb3cd77e /src/config | |
| parent | a9a2caf4aefd5c8d1240ef74f933d4807f0ec6b9 (diff) | |
| download | aichat-8b806db85791a23f9725adbe09f414464adb6605.tar.gz | |
feat: ctrlc won't exit repl and remove `ctrlc_exit` config (#419)
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/mod.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/config/mod.rs b/src/config/mod.rs index 963ad50..1fe97af 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -63,8 +63,6 @@ pub struct Config { pub wrap: Option<String>, /// Whether wrap code block pub wrap_code: bool, - /// Whether to exit REPL when Ctrl+C is pressed - pub ctrlc_exit: bool, /// Automatically copy the last output to the clipboard pub auto_copy: bool, /// REPL keybindings. (emacs, vi) @@ -114,7 +112,6 @@ impl Default for Config { light_theme: false, wrap: None, wrap_code: false, - ctrlc_exit: false, auto_copy: false, keybindings: Default::default(), prelude: None, |
