All Versions
4
Latest Version
Avg Release Cycle
52 days
Latest Release
162 days ago

Changelog History

  • v1.5.3

    June 12, 2019
  • v1.5.2

    April 21, 2019
  • v1.0.0

    🚀 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

    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)