Last active
November 17, 2015 22:36
-
-
Save skatenerd/4fcc99434c901e8ef373 to your computer and use it in GitHub Desktop.
minimal example to recreate https://ghc.haskell.org/trac/ghc/ticket/11048
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main where | |
import UI.NCurses | |
import Control.Monad.State | |
main :: IO () | |
main = runCurses $ void (runStateT top []) | |
top = do | |
lift $ setEcho False | |
w <- lift $ defaultWindow | |
lift getEvent w $ Just 1000 | |
-- lift $ getEvent w $ Just 1000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment