termbox v0.3.0 Release Notes

Release Date: 2020-09-20 // about 1 year ago
  • โž• Added

    • โž• Add Cells and Cursor 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 throw InitErrors 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 a Cells rather than an IO ()
    • ๐Ÿ”„ 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, and OutputMode, providing sane defaults instead
    • โœ‚ Remove build dependency on c2hs
    • โœ‚ Remove support for GHC < 8.2

Previous changes from v0.2.0

  • โž• Added

    • โž• Add getCells function
    • โž• Add run function

    ๐Ÿ”„ Changed

    • ๐Ÿ“‡ Rename size to getSize
    • ๐Ÿ“‡ Rename main to run_ and return errors as an Either instead of throwing.
    • ๐Ÿ‘‰ Make Attr's Semigroup instance right-biased instead of left-biased.
    • ๐Ÿ‘‰ Make Attr's Num instance total.

    โœ‚ Removed

    • โž• Add buffer function