Set status to color yellow

This commit is contained in:
Shav Kinderlehrer 2023-08-23 00:08:22 -04:00
parent 106181f022
commit 0dbb3cee34

View File

@ -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;
} }