diff options
| author | sigoden <sigoden@gmail.com> | 2025-02-08 09:24:40 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-08 09:24:40 +0800 |
| commit | d6e5214153ecd9c99331c6f4c27d0553451a18a3 (patch) | |
| tree | 057f71bb6d0d6f3444ed26782019ae7dccd02df1 | |
| parent | 696f7659eb671a32bb9bb93d47ff025e8012a2e2 (diff) | |
| download | aichat-d6e5214153ecd9c99331c6f4c27d0553451a18a3.tar.gz | |
refactor: change extension of ctrl+o opened file to `.md` (#1157)
| -rw-r--r-- | src/repl/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repl/mod.rs b/src/repl/mod.rs index 466c93e..d7ddb96 100644 --- a/src/repl/mod.rs +++ b/src/repl/mod.rs @@ -262,7 +262,7 @@ Type ".help" for additional help. .with_ansi_colors(true); if let Ok(cmd) = config.read().editor() { - let temp_file = temp_file("-repl-", ".txt"); + let temp_file = temp_file("-repl-", ".md"); let command = process::Command::new(cmd); editor = editor.with_buffer_editor(command, temp_file); } |
