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.
Version 0.23.2
Update signal-hook and mio to version 0.8.
Version 0.23.1
Fix control key parsing problem.
Version 0.23
Update dependencies.
Add 0 check for all cursor functions to prevent undefined behaviour.
Add CSIu key parsing for unix.
Improve control character window key parsing supporting (e.g. CTRL [ and ])
Update library to 2021 edition.
Version 0.22.1
Update yanked version crossterm-winapi and move to crossterm-winapi 0.9.0.
Changed panic to error when calling disable-mouse capture without setting it first.
Update bitflags dependency.
Version 0.22
Fix serde Color serialisation/deserialization inconsistency.
Update crossterm-winapi 0.8.1 to fix panic for certain mouse events
Version 0.21
Expose is_raw function.
Add 'purge' option on unix system, this clears the entire screen buffer.
Improve serialisation for color enum values.
Version 0.20
Update from signal-hook with 'mio-feature flag' to signal-hook-mio 0.2.1.
Manually implements Eq, PartialEq and Hash for KeyEvent improving equality checks and hash calculation.
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.
Changelog
Sourced from crossterm's changelog.
... (truncated)
Commits
0c20590
0.24 (#686)fe37c89
Add support for cursor keys events in application mode (^[Ox) (#681)0a435e6
Make clear which mouse commands are 0-based and which are 1-based. (#684)f523c11
Fix zero terminal sizes being treated as ok in Unix (#680)ad0d100
Add support for other underline types and the ability to color them (#679)73a8ecc
Amend docs for cursor::position (#674)6456856
Clarify that SetSize resizes the terminal buffer.2115571
Fix typos (#675)39e6f1c
Fix some broken links in docs (#671)09ffd70
remove stray println in color serialization (#661)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)