* fix #9394 by replacing `fmt` with normal string append Until issue #7632 is fixed, use string append. * use `strutils.%` instead of normal string add
This commit is contained in:
parent
1fe949b9d5
commit
82a1576263
2 changed files with 12 additions and 3 deletions
7
tests/stdlib/t9394.nim
Normal file
7
tests/stdlib/t9394.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import terminal, colors
|
||||
|
||||
let codeFg = ansiForegroundColorCode(colAliceBlue)
|
||||
let codeBg = ansiBackgroundColorCode(colAliceBlue)
|
||||
|
||||
doAssert codeFg == "\27[38;2;240;248;255m"
|
||||
doAssert codeBg == "\27[48;2;240;248;255m"
|
||||
Loading…
Add table
Add a link
Reference in a new issue