All Versions
6
Latest Version
Avg Release Cycle
91 days
Latest Release
1548 days ago

Changelog History

  • v1.5.5

    January 20, 2020
  • v1.5.4

    November 29, 2019
  • v1.5.3

    June 12, 2019
  • v1.5.2

    April 21, 2019
  • v1.0.0 Changes

    ๐Ÿš€ Termion 1.0.0 is out! This release is breaking, which is also the reason for the semver bump.

    Highlights

    Lot'ta goodies.

    • ๐Ÿ‘ Mouse support: If you enabled mouse mode through the MouseTerminal struct, you can get mouse events (thanks to IGI-111).
    • ๐Ÿ‘ TrueColor support: You can now use true color, by the Rgb struct.
    • A complete revision of the way escapes are handled: Everything is now done through Display instead of custom traits.
    • isatty wrapper: termion::is_tty takes any T: AsRawFd and gives you a bool.
    • ๐Ÿš€ Crates.io release: Previously, it was distributed solely through git. This turns out to be very convinient, but quite critical whenever making breaking changes (that is, major semver bumps).
  • v0.1.0 Changes

    This sample table gives an idea of how to go bu converting to the new major ๐Ÿ”– version of Termion.

    0.1.0 1.0.0
    use termion::IntoRawMode use termion::raw::IntoRawMode
    stdout.color(color::Red); write!(stdout, "{}", color::Fg(color::Red));
    stdout.color_bg(color::Red); write!(stdout, "{}", color::Bg(color::Red));
    stdout.goto(x, y); write!(stdout, "{}", cursor::Goto(x, y));
    color::rgb(r, g, b); color::Rgb(r, g, b) (truecolor)
    x.with_mouse() MouseTerminal::from(x)