on master help sign in
bug fix: last_pic_ref left undefined
ec462ddMichael Steele
src/Graphics/Vty.hs+1−1
@@ -87,7 +87,7 @@ mkVtyEscDelay escDelay = do
87
87
88intMkVty :: IO Event -> IO () -> TerminalHandle -> IO Vty
88intMkVty :: IO Event -> IO () -> TerminalHandle -> IO Vty
89intMkVty kvar fend t = do
89intMkVty kvar fend t = do
90− last_pic_ref <- newIORef undefined
90+ last_pic_ref <- newIORef Nothing
91 last_update_ref <- newIORef Nothing
91 last_update_ref <- newIORef Nothing
92
92
93 let inner_update in_pic = do
93 let inner_update in_pic = do