Repository navigation
Releases: polyagonal1/chromoterm
Release list
Release v0.6.0
This minor release features one of the most important features of a terminal manipulation library: a way to style and colorise text. It comes with a slightly unusual API documented in the main library documentation.
Release v0.5.3
This patch release fixes all of the broken docs.rs documentation showing on docs.rs by making sure docs.rs's build process documents items behind feature flag(s).
This release also features a migration from lexical-core to lexical-write-integer for a smaller dependency tree (I think).
Release 0.5.2
This patch release features:
- Making
raw::disable_raw_modea consuming method ofRawTerminalinstead of a standalone function - Derives of common traits on
screen::AlternateScreenGuard - Other adjustments
Release v0.5.1
This patch release fixes some broken doctests in src/terminal_mode/raw.rs and src/screen.rs.
Release v0.5.0
This release features a refactor of the terminal mode API. Raw mode and setting terminal attributes directly are now under the same module, with a re-export of the raw mode API at the top level.
This release also adds another method on ScreenControllerGuard in the screen module: inner_mut which explicitly provides an exclusive mutable reference to the inner ScreenController.
Release v0.4.0
This minor release features a redesign of the alternate screen API.
The alternate_screen module has been renamed to just screen. In the screen module, there is now a ScreenController trait which defines 2 methods: enter_alternate_screen and leave_alternate_screen. It is automatically implemented for any type implementing std::io::Write. This implementation does not automatically disable the alternate screen on Drop.
If the user wants to opt-in to making sure the alternate screen is disabled when the program exits, there is a ScreenControllerGuard struct wrapping any struct implementing ScreenController which adds disable-on-drop behaviour.
Release v0.3.0
This minor release features:
- Erase functions through the
ClearInDisplayandClearInLinetraits in theerasemodule. - A removal of the
fullfeature flag. - General adjustments.
Release v0.2.1
Patch release v0.2.1
This patch release features:
- A migration from the itoa crate to the
lexical-core crate as it is more flexible and
more perfomant according to the
itoa benchmark. - Documentation improvements.
- Tests for the
CursorControlsAPI. - README update
Release v0.2.0
This release removes the Terminal structure because it is now useless. This should hopefully bring longer-term benefits of having everything more modular rather than all tied to that Terminal struct.