vty/test/Test2.hs
2017-01-22 09:22:15 -08:00

15 lines
252 B
Haskell

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
getEvent vty
shutdown vty
putStrLn "Done!"
return ()