Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump crossterm from 0.23.2 to 0.25.0 #422

Merged
merged 1 commit into from
Sep 9, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 9, 2022

Bumps crossterm from 0.23.2 to 0.25.0.

Release notes

Sourced from crossterm's releases.

0.25

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 the 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:
    • 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 and Event::FocusLost), WINDOWS ONLY.

0.24

  • 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 serialization code.
  • Fix the mouse up for the middle and right buttons.
  • Fix escape codes on Git-Bash + Windows Terminal / Alacritty / WezTerm.
  • Add support for cursor keys in application mode.
Changelog

Sourced from crossterm's changelog.

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:
    • 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 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.
  • Add support for cursor keys in application mode.
Commits

Dependabot compatibility score

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)

Bumps [crossterm](https://github.com/crossterm-rs/crossterm) from 0.23.2 to 0.25.0.
- [Release notes](https://github.com/crossterm-rs/crossterm/releases)
- [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossterm-rs/crossterm/commits/0.25)

---
updated-dependencies:
- dependency-name: crossterm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from scarmuega as a code owner September 9, 2022 20:15
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Sep 9, 2022
@scarmuega scarmuega merged commit c34aef2 into main Sep 9, 2022
@scarmuega scarmuega deleted the dependabot/cargo/crossterm-0.25.0 branch September 9, 2022 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant