Skip to content

Commit

Permalink
undo
Browse files Browse the repository at this point in the history
  • Loading branch information
neroist committed Mar 30, 2024
1 parent 7500e0b commit c01c63a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/common/ansi.nim
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import std/terminal
import std/colors

proc colorToAnsi*(color: Color; foreground: bool = true): string =
if not isTrueColorSupported():
return ""

let
rgb = color.extractRGB

Expand Down

0 comments on commit c01c63a

Please sign in to comment.