mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 09:24:36 +00:00
Since #8296, fgSetColor is no longer a global. These commands were probably left out from the change as an oversight, so some tests have been added to make sure this won't happen again.
9 lines
131 B
Nim
9 lines
131 B
Nim
discard """
|
|
action: compile
|
|
"""
|
|
|
|
import terminal, colors
|
|
|
|
styledEcho fgColor, colRed, "Test"
|
|
styledEcho bgColor, colBlue, "Test"
|