navi
navi copied to clipboard
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:
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 the 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, 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
SetStyle
command to allow setting various styling in one command.- Terminal Focus events (see
Event::FocusGained
andEvent::FocusLost
), WINDOWS ONLY.
Changelog
Sourced from crossterm's changelog.
Version 0.25.0
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
)
Commits
5d02ed8
0.25 (#702)1fee5ff
Add bracketed paste parsing (#693)2a612e0
Add extra modifiers/state from kitty keyboard protocol (#696)2362bc2
Fix tty buffer size typo for unix (#701)f59221e
Fix typo in interactive demo (#699)551659d
Add support for functional key codes from kitty keyboard protocol (#691)069497b
Emit focus events (#689)c6a8952
Add execute_winapi on SetStyle to fix Windows compilation (#690)60e51be
Increase support for kitty enhanced keyboard protocol (#688)4dcc6fc
Create 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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)