diff options
author | bptato <nincsnevem662@gmail.com> | 2023-07-06 15:56:19 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-07-06 16:11:18 +0200 |
commit | ea70eea0b7a4abea2f944195ea69db5ea5b9f3ea (patch) | |
tree | f86ca4fce9a0e525a7f2744675b8ee88c814f259 /src/utils | |
parent | b5146e27f103523494fdec0272a084c18afe1a69 (diff) | |
download | chawan-ea70eea0b7a4abea2f944195ea69db5ea5b9f3ea.tar.gz |
term: fix ANSI color approximation
Fixes a bug that lead to incorrect color approximation.
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/chamath.nim | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/utils/chamath.nim b/src/utils/chamath.nim deleted file mode 100644 index 579b7b69..00000000 --- a/src/utils/chamath.nim +++ /dev/null @@ -1,4 +0,0 @@ -func absSub*(a, b: SomeUnsignedInt): auto {.inline.} = - if a > b: - return a - b - return b - a |