on master help sign in
compile fixes

Ignore-this: afd25b5fd8ab6275aaccd74ce2a5e994 darcs-hash:20100114080519-f0a0d-e18d467a1ac0f09452c697f996f131d12e1c2d4a.gz

commite110cc1e0ecb617ac2fbcac15affa8709ff364ec authorcoreyoconnor <coreyoconnor@gmail.com> dateThu 14 Jan 2010, 00:05 (17 years ago) parentaacb4ab
2 files changed+4−4
src/Graphics/Vty/Inline.hs+3−3 test/Verify/Data/Terminfo/Parse.hs+1−1
src/Graphics/Vty/Inline.hs+3−3
@@ -44,15 +44,15 @@ put_attr_change t c = do
4444 mfattr <- liftIO $ known_fattr <$> readIORef ( state_ref t )
4545 fattr <- case mfattr of
4646 Nothing -> do
47− marshall_to_terminal t (default_attr_required_bytes d) (serialize_default_attr d)
47+ liftIO $ marshall_to_terminal t (default_attr_required_bytes d) (serialize_default_attr d)
4848 return $ FixedAttr default_style_mask Nothing Nothing
4949 Just v -> return v
5050 let attr = execState c current_attr
5151 attr' = limit_attr_for_display d attr
5252 fattr' = fix_display_attr fattr attr'
5353 diffs = display_attr_diffs fattr fattr'
54− marshall_to_terminal t ( attr_required_bytes d fattr attr' diffs )
55− ( serialize_set_attr d fattr attr' diffs )
54+ liftIO $ marshall_to_terminal t ( attr_required_bytes d fattr attr' diffs )
55+ ( serialize_set_attr d fattr attr' diffs )
5656 liftIO $ modifyIORef ( state_ref t ) $ \s -> s { known_fattr = Just fattr' }
5757 inline_hack d
5858
test/Verify/Data/Terminfo/Parse.hs+1−1
@@ -102,7 +102,7 @@ bytes_for_range cap offset c
102102
103103collect_bytes :: CapExpression -> [Word8]
104104collect_bytes e = concat [ bytes
105− | Bytes offset c <- cap_ops e
105+ | Bytes offset c _ <- cap_ops e
106106 , let bytes = bytes_for_range e offset c
107107 ]
108108