Add while loops
This commit is contained in:
parent
8565dd5ca6
commit
4be54dc5ed
2 changed files with 3 additions and 0 deletions
|
@ -387,6 +387,7 @@ fn write_prompt(state: State) -> Result<(), Box<dyn std::error::Error>> {
|
|||
if state.in_mode {
|
||||
let table = [
|
||||
"\x1b[31;1m",
|
||||
"\x1b[38;2;255;165;0m",
|
||||
"\x1b[33;1m",
|
||||
"\x1b[32;1m",
|
||||
"\x1b[34;1m",
|
||||
|
|
|
@ -13,6 +13,8 @@ pub fn bench_eval(bencher: &mut test::Bencher) {
|
|||
.unwrap_or(std::env::home_dir().unwrap_or(PathBuf::from("/"))),
|
||||
aliases: Vec::new(),
|
||||
raw_term: None,
|
||||
in_mode: false,
|
||||
entries: 0,
|
||||
};
|
||||
state.shell_env.push(ShellVar {
|
||||
name: "PROMPT1".to_string(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue