Fix the compilation of terminal.nim on Windows
This commit is contained in:
parent
70ec344bbf
commit
5623007126
1 changed files with 1 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue