summaryrefslogtreecommitdiff
path: root/source/style/package.d
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2023-08-09 16:33:14 -0400
committerShav Kinderlehrer <[email protected]>2023-08-09 16:33:14 -0400
commitdb53ee6c3bdd8d14c196f06b6377f2418779f82d (patch)
treeb06d6b9f6b3d170b67e8bd56f8f40dd4e59ff9e0 /source/style/package.d
parent85f830ce4730da0489bc14d8726de7fb2dd0fc38 (diff)
downloadprim-db53ee6c3bdd8d14c196f06b6377f2418779f82d.tar.gz
prim-db53ee6c3bdd8d14c196f06b6377f2418779f82d.zip
Add path parsing
Diffstat (limited to 'source/style/package.d')
-rw-r--r--source/style/package.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/style/package.d b/source/style/package.d
index 76aa044..57e87c2 100644
--- a/source/style/package.d
+++ b/source/style/package.d
@@ -5,5 +5,5 @@ import std.conv;
import style.color;
string set(string s, int code) {
- return ("%{\x1b[" ~ to!string(code) ~ "m%}") ~ s ~ ("%{\x1b[0m%}");
+ return ("%{\x1b[" ~ to!string(code) ~ "m%}") ~ s ~ ("%{\x1b[" ~ to!string((Color.reset + 0)) ~ "m%}");
}