termbox v0.3.0 Release Notes
Release Date: 2020-09-20 // over 3 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