mirror of
https://github.com/daylinmorgan/hwylterm.git
synced 2024-12-22 03:00:43 -06:00
parseEnum is value erroring, fix that later
This commit is contained in:
parent
b0be93a7d1
commit
068f92fe72
1 changed files with 1 additions and 2 deletions
|
@ -39,8 +39,7 @@ const ColorDigitStrings = (1..255).toSeq().mapIt($it)
|
||||||
func isHex(s: string): bool =
|
func isHex(s: string): bool =
|
||||||
(s.startswith "#") and (s.len == 7)
|
(s.startswith "#") and (s.len == 7)
|
||||||
|
|
||||||
# TODO: write seperate parseStyle procedure
|
# TODO: write non-fallible parseStyle(s) procedure
|
||||||
|
|
||||||
proc toAnsiCode*(s: string): string =
|
proc toAnsiCode*(s: string): string =
|
||||||
if bbMode == Off: return
|
if bbMode == Off: return
|
||||||
var
|
var
|
||||||
|
|
Loading…
Reference in a new issue