Fix the compilation of terminal.nim on Windows

This commit is contained in:
Zahary Karadjov 2018-05-04 20:05:05 +03:00 • committed by Andreas Rumpf
commit 5623007126

View file

@ -40,10 +40,7 @@ const
fgPrefix = "\x1b[38;2;"
bgPrefix = "\x1b[48;2;"
ansiResetCode* = "\e[0m"
when not defined(windows):
const
stylePrefix = "\e["
stylePrefix = "\e["
when defined(windows):
import winlean, os