mirror of
https://github.com/ilyakooo0/vty.git
synced 2024-11-29 16:54:42 +03:00
7b38759846
Ignore-this: 1d31bef2e227fefafe8bb4b6f9511e1d darcs-hash:20090904172928-f0a0d-987b6931294fd33f7825eddc0adf04c81716a4dd.gz
13 lines
234 B
Haskell
13 lines
234 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
|
|
shutdown vty
|
|
putStrLn "Done!"
|
|
return ()
|
|
|