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
-
d5477b5 (examples) Use ratatui::crossterm in examples by @joshka in #1315
-
730dfd4 (examples) Show line gauge in demo example by @montmorill in #1309
-
097ee86 (uncategorized) Remove superfluous doc(inline) by @EdJoPaTo in #1310
It's no longer needed since #1260
-
3fdb5e8 (uncategorized) Fix typo in terminal.rs by @mrjackwills in #1313
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
- @nfachan made their first contribution in #1323
- @LucasPickering made their first contribution in #1320
- @montmorill made their first contribution in #1309
Full Changelog: v0.28.0...v0.28.1-alpha.1