Add a function to check if kitty keyboard enhancement protocol is availible. (#732)
Add filedescriptors poll in order to move away from mio in the future (can be used via use-dev-tty). (#735)
Fixed 🐛
Improved F1-F4 handling for kitty keyboard protocol. (#736)
Improved parsing of event types/modifiers with certain keys for kitty protocol. (#716)
Breaking ⚠️
Remove SetCursorShape in vavour of SetCursorStyle. (#742)
Make Windows resize event match terminal::size (#714)
Version 0.25.0
BREAKING: Copy trait is removed from Event, you can keep it by removing the "bracked-paste" feature flag. However this flag might be standardized in the future.
We removed the Copy from Event because the new Paste 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 and EnableBracketedPaste ).
Add support for functional key codes from kitty keyboard protocol. Try out by PushKeyboardEnhancementFlags. This protocol allows for:
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 and Event::FocusLost)
Version 0.24.0
Add DoubleUnderlined, Undercurled, Underdots the text, Underdotted, Underdashes, Underdashed attributes and allow coloring their foreground / background color.
Fix windows unicode character parsing, this fixed various key combinations and support typing unicode characters.
Consistency and better documentation on mouse cursor operations (BREAKING CHANGE).
MoveTo, MoveToColumn, MoveToRow are 0-based. (left top most cell is 0,0). Moving like this is absolute
MoveToNextLine, MoveToPreviousLine, MoveUp, MoveDown, MoveRight, MoveLeft are 1-based,. Moving like this is relative. Moving 1 left means moving 1 left. Moving 0 to the left is not possible, wikipedia states that most terminals will just default to 1.
terminal::size returns error when previously it returned (0,0).
Remove println from serialisation code.
Fix mouse up for middle and right buttons.
Fix escape codes on Git-Bash + Windows Terminal / Alacritty / WezTerm.
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)
Updates the requirements on crossterm to permit the latest version.
Release notes
Sourced from crossterm's releases.
Changelog
Sourced from crossterm's changelog.
... (truncated)
Commits
338c122
0.26.0 (#750)318f810
Support key release events for windows. (#745)a993a98
Derived copy and clone for SetCursorStyle. (#748)fadec7a
SetCursorStyle documentation improvements (#744)814df1c
Fix CI failures (#746)614e6a7
Add SetCursorStyle command (#742)05229b7
Replace mio polling with filedescriptor's poll() (#735)3fe13e1
Add a function for checking keyboard enhancement support (#732)bb48b93
Improved doc for KeyEvent kind field (#739)81eb00f
Reword to De(serialize) (#729)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)