fixed () nop because i broke it
This commit is contained in:
parent
a4ac85a0a6
commit
388f709394
2 changed files with 3 additions and 2 deletions
|
@ -9,7 +9,7 @@ pub const BUILTINS: [(
|
|||
fn(args: Vec<String>, unsplit_args: String, state: &mut super::State) -> i32,
|
||||
&str,
|
||||
&str,
|
||||
); 19] = [
|
||||
); 20] = [
|
||||
(
|
||||
"cd",
|
||||
cd,
|
||||
|
@ -91,6 +91,7 @@ pub const BUILTINS: [(
|
|||
"Set the focus to the contents of a variable.",
|
||||
),
|
||||
("()", nop, "", "Do nothing and return a status code of 0."),
|
||||
("nop", nop, "", "Do nothing and return a status code of 0."),
|
||||
(
|
||||
"if",
|
||||
_if,
|
||||
|
|
|
@ -393,7 +393,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[38;2;255;165;0;1m",
|
||||
"\x1b[33;1m",
|
||||
"\x1b[32;1m",
|
||||
"\x1b[34;1m",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue