Set status to color yellow
This commit is contained in:
parent
106181f022
commit
0dbb3cee34
@ -20,7 +20,7 @@ string ps1(Opts opt) {
|
|||||||
ps ~= (",-(" ~ pathstr ~ ")".set(Color.black)).set(Color.black);
|
ps ~= (",-(" ~ pathstr ~ ")".set(Color.black)).set(Color.black);
|
||||||
ps ~= "\n";
|
ps ~= "\n";
|
||||||
|
|
||||||
ps ~= ("'-(" ~ to!string(opt.status) ~ ") ").set(Color.black); // prompt char
|
ps ~= ("`-(" ~ to!string(opt.status).set(Color.yellow) ~ ") ".set(Color.black)).set(Color.black); // prompt char
|
||||||
ps ~= (opt.pchar ~ " ").set(Font.bold).set(opt.status == 0 ? Color.green : Color.red);
|
ps ~= (opt.pchar ~ " ").set(Font.bold).set(opt.status == 0 ? Color.green : Color.red);
|
||||||
return ps;
|
return ps;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user