bug fix: last_pic_ref left undefined
Ignore-this: 6c345adc649861c6ba644c45bdd2068f
darcs-hash:20101130190102-3f730-01c28263eb9ead934eddcc1021540c37edcb146e.gz
commitec462dd9e9f01776caf076c49b18a05440feac7a
authorMichael Steele <mikesteele81@gmail.com>
dateTue 30 Nov 2010, 11:01 (16 years ago)
parenta4373ec
src/Graphics/Vty.hs+1−1
@@ -87,7 +87,7 @@ mkVtyEscDelay escDelay = do
8787
8888intMkVty :: IO Event -> IO () -> TerminalHandle -> IO Vty
8989intMkVty kvar fend t = do
90− last_pic_ref <- newIORef undefined
90+ last_pic_ref <- newIORef Nothing
9191 last_update_ref <- newIORef Nothing
9292
9393 let inner_update in_pic = do