- Fix panic on certain event flags.
- Changed some return types.
- Improved some internal error handling.
- Make resize event return correct screen dimensions instead of buffers size.
- Make semaphore
Send
andSync
again. - Make
Inner
Send
andSync
again.
- Added Common traits (
Debug
,Clone
, etc) to many public facing types, especially data struct. - Significantly updated the
input
structs, so that winapi native types are no longer exposed to the library by crossterm_winapi structs. - Removed PartialOrd from types where it didn't really make sense
- Reimplemented
Console::read_single_input_event
andConsole::read_console_input
to be more efficient, safe, and correct - Make
Console::read_console_input
not return au32
; the numbr of events is the length of the returned vector.
- Make
Semaphore
implementClone
.
- Add
Semaphore
object handling - Make
ButtonState
more flexible.
- The
Handle
API has been reworked to make itSend
+Sync
and close the underlyingHANDLE
when dropped.
- Make read sync block for windows systems (PR #2)
- Maintenance release only
- Moved to a separate repository
Console::get_handle
toConsole::handle