parseEnum is value erroring, fix that later

This commit is contained in:
Daylin Morgan 2024-09-25 14:45:10 -05:00
parent b0be93a7d1
commit 068f92fe72
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -39,8 +39,7 @@ const ColorDigitStrings = (1..255).toSeq().mapIt($it)
func isHex(s: string): bool =
(s.startswith "#") and (s.len == 7)
# TODO: write seperate parseStyle procedure
# TODO: write non-fallible parseStyle(s) procedure
proc toAnsiCode*(s: string): string =
if bbMode == Off: return
var