crossterm v0.25.0 Release Notes
-
๐ฅ BREAKING:
Copy
trait 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 theCopy
fromEvent
because the newPaste
event, 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::Paste
andEnableBracketedPaste
). - โ 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
SetStyle
command to allow setting various styling in one command. - ๐ Terminal Focus events (see
Event::FocusGained
andEvent::FocusLost
)
- โ Add ability to paste a string in into the terminal and fetch the pasted string via events (see