about summary refs log tree commit diff stats
path: root/twtio.nim
diff options
context:
space:
mode:
Diffstat (limited to 'twtio.nim')
-rw-r--r--twtio.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/twtio.nim b/twtio.nim
index 4d2f1083..4c02cfb0 100644
--- a/twtio.nim
+++ b/twtio.nim
@@ -65,7 +65,7 @@ proc readLine*(prompt: string, current: var string): bool =
         print('\b'.repeat(new.len - cursor))
     of ACTION_LINED_ESC:
       new &= c
-      print("^[".addAnsiFgColor(fgBlue).addAnsiStyle(styleBright))
+      print("^[".ansiFgColor(fgBlue).ansiStyle(styleBright).ansiReset())
     of ACTION_LINED_CLEAR:
       print(' '.repeat(new.len - cursor + 1))
       print('\b'.repeat(new.len - cursor + 1))