Bump crossterm from 0.24.0 to 0.25.0
Bumps crossterm from 0.24.0 to 0.25.0.
Release notes
Sourced from crossterm's releases.
0.25
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 the 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, and Release event kinds for kitty-enabled terminals.
- 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), WINDOWS ONLY.
Changelog
Sourced from crossterm's changelog.
Version 0.25.0
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)
Commits
5d02ed80.25 (#702)1fee5ffAdd bracketed paste parsing (#693)2a612e0Add extra modifiers/state from kitty keyboard protocol (#696)2362bc2Fix tty buffer size typo for unix (#701)f59221eFix typo in interactive demo (#699)551659dAdd support for functional key codes from kitty keyboard protocol (#691)069497bEmit focus events (#689)c6a8952Add execute_winapi on SetStyle to fix Windows compilation (#690)60e51beIncrease support for kitty enhanced keyboard protocol (#688)4dcc6fcCreate the SetStyle tuple struct (#687)- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
@dependabot rebase
Looks like crossterm is up-to-date now, so this is no longer needed.