mirror of
https://github.com/ilyakooo0/vty.git
synced 2024-11-29 08:49:40 +03:00
16 iso 15
This commit is contained in:
parent
ffdd86df1c
commit
9eaa5e5cb5
@ -49,7 +49,7 @@ simpleColor_ :: Integral i => Word8 -> i -> Word8
|
||||
simpleColor_ e c
|
||||
| c <= 0 = 0
|
||||
| c <= 95 = 1
|
||||
| c <= 255 = fromIntegral ((c-15) `div` 40)
|
||||
| c <= 255 = fromIntegral ((c-16) `div` 40)
|
||||
| otherwise = e
|
||||
|
||||
-- | Create a RGB triple from a value in the Color240 set.
|
||||
|
Loading…
Reference in New Issue
Block a user