crossterm breaking changes
cargo11 curated breaking changes across major versions of crossterm. Use this as a migration checklist before bumping dependencies.
- 0.28 \u2192 0.29breaking
Correctly fix KeyModifiers Display impl Properly adding + in between modifiers (#979) @joshka @linrongbin16 @kmicklas @maciek50322 @rosew0od @sxyazi @the-mikedavis @hthuz @aschey @naseschwarz @Flokkq @gaesa @WindSoilder
- 0.27.0 \u2192 0.28breaking
Fix duplicate bit masks for caps lock and num lock (#863). This breaks serialization of `KeyEventState` @rustco @timstr @illiteratewriter @heaths @joshka @aschey @joshka @martinvonz @linrongbin16 @rtczza @sjakk @kierdavis @Destroy666x @stphnt @5donuts @kdheepak @valerii15298 @javaLux @alt-art @jumbledFox
- 0.26.1 \u2192 0.27.0breaking
Change all error types to `std::io::Result` (#765) @Gronis, @kevin-vigor, @Wilfred, @benjajaja, @blt-r, @Piturnah, @kdheepak, @DeathVenom54, @senekor, @joseluis, @gibbz00, @lesleyrs, @jhartzell42
- 0.26.1 \u2192 0.27.0breaking
Set minimum rustc version to 1.58 (#798)
- 0.25 \u2192 0.26breaking
Remove `SetCursorShape` in vavour of `SetCursorStyle`. (#742)
- 0.25 \u2192 0.26breaking
Make Windows resize event match `terminal::size` (#714)
- 0.24 \u2192 0.25breaking
Add support for functional key codes from kitty keyboard protocol. Try out by `PushKeyboardEnhancementFlags`. This protocol allows for:
- 0.24 \u2192 0.25breaking
Press, Repeat, and Release event kinds for kitty-enabled terminals.
- 0.24 \u2192 0.25breaking
SUPER, HYPER, META modifiers.
- 0.24 \u2192 0.25breaking
Add the ability to paste a string in into the terminal and fetch the pasted string via events (see `Event::Paste` and `EnableBracketedPaste `).
- 0.24 \u2192 0.25breaking
See: https://sw.kovidgoyal.net/kitty/keyboard-protocol/#modifiers
Get this data programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/breaking/cargo/crossterm