Copyright | (c) 2015 Rongcui Dong |
---|---|
License | BSD3 |
Maintainer | Rongcui Dong <karl_1702@188.com> |
Safe Haskell | None |
Language | Haskell2010 |
- data InitConfig = InitConfig {}
- defaultInitConfig :: InitConfig
- initConsole :: InitConfig -> IO ()
- asciiBox :: Int -> Int -> ColorIntensity -> Color -> IO ()
- drawChar :: Char -> Int -> Int -> ColorIntensity -> Color -> IO ()
- drawCharS :: Char -> ColorIntensity -> Color -> (Int, Int) -> (Int, Int) -> IO (Int, Int)
- clearLineRange :: Int -> Int -> Int -> IO ()
- sInputNonBlocking :: Signal s IO () (Maybe Char)
Documentation
data InitConfig Source
initConsole :: InitConfig -> IO () Source
Initializes console
asciiBox :: Int -> Int -> ColorIntensity -> Color -> IO () Source
Draw a filled ascii box with specified color and size. It will destroy SGR color state, be careful
drawChar :: Char -> Int -> Int -> ColorIntensity -> Color -> IO () Source
Draw a character at a specific position. It will destroy SGR color state
Statefully draw character
Clears a certain column range on a certain row