termbox v0.3.0 Release Notes
Release Date: 2020-09-20 // over 2 years ago-
โ Added
- โ Add
Cells
andCursor
types - Export
Termbox.Internal
module that roughly corresponds to the C library
๐ Changed
- โ Add a few arguments to the action provided to
run
- ๐ Make
run
throwInitError
s as IO exceptions - โช Reset output mode to "normal" on shutdown to work around a small bug in termbox.c that retains the output mode across separate invocations of init/shutdown
- ๐ Change type of
set
to construct aCells
rather than anIO ()
- ๐ Change a few keys into pattern synonyms because they overlap
โ Removed
- โ Remove the alt modifier field from
KeyEvent
- โ Remove
setCursor
,hideCursor
,clear
,flush
,getCells
,getSize
,poll
,run_
- โ Remove
InputMode
,MouseMode
, andOutputMode
, providing sane defaults instead - โ Remove build dependency on
c2hs
- โ Remove support for GHC < 8.2
- โ Add
Previous changes from v0.2.0
-
โ Added
- โ Add
getCells
function - โ Add
run
function
๐ Changed
- ๐ Rename
size
togetSize
- ๐ Rename
main
torun_
and return errors as anEither
instead of throwing. - ๐ Make
Attr
'sSemigroup
instance right-biased instead of left-biased. - ๐ Make
Attr
'sNum
instance total.
โ Removed
- โ Add
buffer
function
- โ Add