Properly add lines to the history for readline in the ebc
This commit is contained in:
parent
a32e28d2d2
commit
7c1fc95f93
|
@ -4,3 +4,4 @@
|
||||||
node_modules/
|
node_modules/
|
||||||
.cargo/
|
.cargo/
|
||||||
build/
|
build/
|
||||||
|
.otto-ebc-history
|
||||||
|
|
|
@ -41,6 +41,7 @@ fn main() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
rl.add_history_entry(line.as_str());
|
||||||
if line == "quit" {
|
if line == "quit" {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue