crossterm v0.25.0 Release Notes
-
๐ฅ BREAKING:
Copytrait is removed fromEvent, you can keep it by removing the "bracked-paste" feature flag. However this flag might be standardized in the future. ๐ We removed theCopyfromEventbecause the newPasteevent, which contains a pasted string into the terminal, which is a non-copy string.- โ Add ability to paste a string in into the terminal and fetch the pasted string via events (see
Event::PasteandEnableBracketedPaste). - โ Add support for functional key codes from kitty keyboard protocol. Try out by
PushKeyboardEnhancementFlags. This protocol allows for:- See: https://sw.kovidgoyal.net/kitty/keyboard-protocol/#modifiers
- Press, Repeat, Release event kinds.
- SUPER, HYPER, META modifiers.
- Media keycodes
- Right/left SHIFT, Control, Alt, Super, Hyper, Meta
- IsoLevel3Shift, IsoLevel5Shift
- Capslock, scroll lock, numlock
- Printscreen, pauze, menue, keyboard begin.
- ๐
Create
SetStylecommand to allow setting various styling in one command. - ๐ Terminal Focus events (see
Event::FocusGainedandEvent::FocusLost)
- โ Add ability to paste a string in into the terminal and fetch the pasted string via events (see