mirror of
https://github.com/daylinmorgan/hwylterm.git
synced 2024-12-21 18:50:44 -06:00
use tobgcode
This commit is contained in:
parent
0bce099520
commit
d4fad5a3c2
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ proc toAnsiCode*(s: string): string =
|
|||
elif normalizedBgStyle.isHex():
|
||||
codes.add normalizedBgStyle.hexToRgb().toBgCode()
|
||||
elif normalizedBgStyle in ColorDigitStrings:
|
||||
codes.add parseInt(normalizedBgStyle).toCode()
|
||||
codes.add parseInt(normalizedBgStyle).toBgCode()
|
||||
else:
|
||||
when defined(debugBB): echo "unknown bg style: " & normalizedBgStyle
|
||||
|
||||
|
|
Loading…
Reference in a new issue