projects
/
evpf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Readme.md file and bumped version number
[evpf.git]
/
src
/
main.rs
diff --git
a/src/main.rs
b/src/main.rs
index
8e54265
..
c5dd52e
100644
(file)
--- a/
src/main.rs
+++ b/
src/main.rs
@@
-195,7
+195,10
@@
fn run_interactive_mode (match_num : ®ex::Regex) {
let mut expr = String::new ();
let mut rl = Editor::<()>::new ();
let mut expr = String::new ();
let mut rl = Editor::<()>::new ();
+
+ // load the history file
let hist_file = get_history_file ();
let hist_file = get_history_file ();
+ // if unable to load the history file, display the appropriate error
if hist_file.is_err () {
eprintln! ("{}", &hist_file.unwrap_err());
} else {
if hist_file.is_err () {
eprintln! ("{}", &hist_file.unwrap_err());
} else {