on master help sign in
Derive Eq for Cursor

This allows me to use it with `frpnow`'s `toChanges :: Eq a => Behavior a -> EvStream a`.

commit2b9272f2b20df173a36d89399ec272dd961abd74 authorJaro Reinders <noughtmare@users.noreply.github.com> dateFri 5 Jan 2018, 16:00 (9 years ago) parent8a1a128
1 file changed+1
src/Graphics/Vty/Picture.hs+1
src/Graphics/Vty/Picture.hs+1
@@ -85,6 +85,7 @@ data Cursor =
8585 | Cursor !Int !Int
8686 -- | Show the cursor at the given absolute terminal column and row
8787 | AbsoluteCursor !Int !Int
88+ deriving Eq
8889
8990instance NFData Cursor where
9091 rnf c = c `seq` ()