Skip to content

Commit

Permalink
Disable prompt eol
Browse files Browse the repository at this point in the history
  • Loading branch information
vinc committed Sep 17, 2024
1 parent 151254c commit e0164f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/usr/edit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ impl Editor {
let mut command_prompt = Prompt::new();
let command_history = String::from("~/.edit-history");
command_prompt.history.load(&command_history);
command_prompt.eol = false;

match fs::read_to_string(pathname) {
Ok(contents) => {
Expand Down

0 comments on commit e0164f9

Please sign in to comment.