- Added
wasm32-unknown-emscripten
target. (#179) read_line_initial_text
now retains the initial prefix. (#190)- Reading raw input now traps Ctrl+C. (#189)
- Properly use configured output of
Term
to get terminal size (#186) - Aligned
read_line
andread_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_key
so 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
regex
dependency. (#153) - Clarified that
clicolors-control
is no longer used. - Handle non-tty terminals in
read_char
. (#124)
- Fix for regression where console size was misreported on windows. (#151)
- Dropped
terminal_size
dependency.
- Dropped
once_cell
dependency to support MSRV again.
- ANSI support no longer depends on
regex
crate. - Crate now supports
minver
.
- Added more key recognitions
- Exposed
pad_str_with
to public API - Added
ReadWritePair
- Support
color256
inStyle::from_dotted_str
- Added
ReadWritePair
toTermTarget
to allow arbitrary read write pairs behave as a term - Removed
Copy
andPartialEq
fromTermTarget
- Added
NO_COLOR
support - 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_stderr
for checking if stderr is a terminal - Removed
termios
dependency
- 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()