diff options
author | Shav Kinderlehrer <[email protected]> | 2023-08-23 00:08:22 -0400 |
---|---|---|
committer | Shav Kinderlehrer <[email protected]> | 2023-08-23 00:08:22 -0400 |
commit | 0dbb3cee345f8d3042736acfe6c8aa159862eeab (patch) | |
tree | 4ee264f5b1c280c680089b582c572b16aebeb8ff | |
parent | 106181f022081d79ed4ba19a23863e5d2f8b0f6c (diff) | |
download | prim-0dbb3cee345f8d3042736acfe6c8aa159862eeab.tar.gz prim-0dbb3cee345f8d3042736acfe6c8aa159862eeab.zip |
Set status to color yellow
-rw-r--r-- | source/prompt/ps1.d | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/prompt/ps1.d b/source/prompt/ps1.d index ded6d94..3b46bf2 100644 --- a/source/prompt/ps1.d +++ b/source/prompt/ps1.d @@ -20,7 +20,7 @@ string ps1(Opts opt) { ps ~= (",-(" ~ pathstr ~ ")".set(Color.black)).set(Color.black); 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); return ps; } |