summaryrefslogtreecommitdiff
path: root/source/style/package.d
diff options
context:
space:
mode:
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%}");
}