diff options
| author | sigoden <sigoden@gmail.com> | 2024-12-28 10:04:19 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-28 10:04:19 +0800 |
| commit | ccd3b133e7043369f1fa766b09f2b5f5e5997640 (patch) | |
| tree | 6d06c713f2168ca3bfb44b7d98688a59b145464a /src | |
| parent | 5ffa98f449c3fae5aaf1c8d402d49bd57dc75898 (diff) | |
| download | aichat-ccd3b133e7043369f1fa766b09f2b5f5e5997640.tar.gz | |
refactor: update deps (#1068)
Diffstat (limited to 'src')
| -rw-r--r-- | src/repl/mod.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/repl/mod.rs b/src/repl/mod.rs index ff12331..868325e 100644 --- a/src/repl/mod.rs +++ b/src/repl/mod.rs @@ -546,16 +546,6 @@ Type ".help" for additional help. KeyCode::Enter, ReedlineEvent::Edit(vec![EditCommand::InsertNewline]), ); - keybindings.add_binding( - KeyModifiers::SHIFT, - KeyCode::Enter, - ReedlineEvent::Edit(vec![EditCommand::InsertNewline]), - ); - keybindings.add_binding( - KeyModifiers::ALT, - KeyCode::Enter, - ReedlineEvent::Edit(vec![EditCommand::InsertNewline]), - ); } fn create_edit_mode(config: &GlobalConfig) -> Box<dyn EditMode> { |
