github ratatui/ratatui v0.28.1-alpha.1

latest releases: v0.29.1-alpha.0, v0.29.0, v0.29.0-alpha.0...
pre-release3 months ago

v0.28.1-alpha.1 - 2024-08-17

Bug Fixes

  • fdd5d8c (text) Remove trailing newline from single-line Display trait impl by @LucasPickering in #1320

  • 2fb0b8a (uncategorized) Fix u16 overflow in Terminal::insert_before. by @nfachan in #1323

    If the amount of characters in the screen above the viewport was greater
    than u16::MAX, a multiplication would overflow. The multiply was used to
    compute the maximum chunk size. The fix is to just do the multiplication
    as a usize and also do the subsequent division as a usize.

    There is currently another outstanding issue that limits the amount of
    characters that can be inserted when calling Terminal::insert_before to
    u16::MAX. However, this bug can still occur even if the viewport and the
    amount of characters being inserted are both less than u16::MAX, since
    it's dependant on how large the screen is above the viewport.

    Fixes #1322

Documentation

Miscellaneous Tasks

Build

  • 0256269 (uncategorized) Simplify Windows build by @joshka in #1317

    Termion is not supported on Windows, so we need to avoid building it.

    Adds a conditional dependency to the Cargo.toml file to only include
    termion when the target is not Windows. This allows contributors to
    build using the --all-features flag on Windows rather than needing
    to specify the features individually.

New Contributors

Full Changelog: v0.28.0...v0.28.1-alpha.1

Don't miss a new ratatui release

NewReleases is sending notifications on new releases.