From 8b806db85791a23f9725adbe09f414464adb6605 Mon Sep 17 00:00:00 2001 From: sigoden Date: Sat, 20 Apr 2024 07:53:31 +0800 Subject: feat: ctrlc won't exit repl and remove `ctrlc_exit` config (#419) --- src/config/mod.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/config/mod.rs') 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, /// 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, -- cgit v1.2.3