Newer changelog entries can be found on GitHub.
- Added
wasm32-unknown-emscriptentarget. (#179) read_line_initial_textnow retains the initial prefix. (#190)- Reading raw input now traps Ctrl+C. (#189)
- Properly use configured output of
Termto get terminal size (#186) - Aligned
read_lineandread_line_initial_text's behavior. (#181) - Fixed soundness issue in
msys_tty_on. (#183)
- Set an appropriate lower version of libc for macos changes.
- Improved behavior of
read_single_keyso it does not disturb other threads quite as much. (#165) - More reliably reset raw mode in terminal. (#171)
- Switch to
select()on macOS for polling on TTYs to work around a macOS bug. (#169) - Added blink fast and strikethrough attributes. (#159)
- Removed
regexdependency. (#153) - Clarified that
clicolors-controlis no longer used. - Handle non-tty terminals in
read_char. (#124)
- Fix for regression where console size was misreported on windows. (#151)
- Dropped
terminal_sizedependency.
- Dropped
once_celldependency to support MSRV again.
- ANSI support no longer depends on
regexcrate. - Crate now supports
minver.
- Added more key recognitions
- Exposed
pad_str_withto public API - Added
ReadWritePair - Support
color256inStyle::from_dotted_str
- Added
ReadWritePairtoTermTargetto allow arbitrary read write pairs behave as a term - Removed
CopyandPartialEqfromTermTarget
- Added
NO_COLORsupport - Added some more key recognitions
- Undeprecate
Term::is_term
- Added emoji support for newer Windows terminals.
- Made the windows terminal emulation a non default feature (
windows-console-colors)
- Added
user_attended_stderrfor checking if stderr is a terminal - Removed
termiosdependency
- Better handling of key recognition on unix
Term::terminal_size()on stderr terms correctly returns stderr term info
- Deprecate
Term::is_term()in favor ofTerm::features().is_attended()
- Remove
Term::want_emoji()in favor ofTerm::features().wants_emoji()