vty/test/Test2.hs

13 lines
234 B
Haskell
Raw Normal View History

module Main where
import Graphics.Vty
main = do
vty <- mkVty
(sx,sy) <- getSize vty
update vty (pic { pImage = renderFill (setBG red attr) 'X' sx sy })
refresh vty
shutdown vty
putStrLn "Done!"
return ()