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

fix: downgrade crossterm for windows compatibility #6204

Merged

Conversation

hansieodendaal
Copy link
Contributor

@hansieodendaal hansieodendaal commented Mar 12, 2024

Description

A recent PR updated crossterm to the latest version, 0.27.0, from version 0.25.0. The behaviour of keyboard events on Windows changed from version 0.26.0 upwards, making the use of the console wallet and to a lesser degree the base node in Windows Console unusable as multiple keystrokes events are generated for each keystroke.

This PR did not seek to find a solution for upgrading to the latest version of crossterm, but merely to revert the change.

Motivation and Context

See above.

How Has This Been Tested?

System-level testing

What process can a PR reviewer use to test or verify this change?

Review code changes
System-level testing

Breaking Changes

  • None
  • Requires data directory on base node to be deleted
  • Requires hard fork
  • Other - Please specify

A recent updates `crossterm` to the latest version, `0.27.0`, from version `0.25.0`. The
behaviour of keyboard events on Windows changed from version `0.26.0` upwards, making the
use of the console wallet and to a lesser degree the base node in Windows Console unusable
as multiple keystrokes events are generated for each keystroke.

This PR did not seek to find a solution for upgrading to the latest version of `crossterm`,
but merely to revert the change.
@SWvheerden
Copy link
Collaborator

SWvheerden commented Mar 12, 2024

Crossterm was updated for a security problem:
https://github.com/tari-project/tari/security/dependabot/272

@ghpbot-tari-project ghpbot-tari-project added P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged labels Mar 12, 2024
Copy link

github-actions bot commented Mar 12, 2024

Test Results (CI)

    3 files    120 suites   37m 23s ⏱️
1 268 tests 1 268 ✅ 0 💤 0 ❌
3 796 runs  3 796 ✅ 0 💤 0 ❌

Results for commit 95d6f4f.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Mar 12, 2024

Test Results (Integration tests)

29 tests   29 ✅  11m 38s ⏱️
11 suites   0 💤
 2 files     0 ❌

Results for commit 95d6f4f.

♻️ This comment has been updated with latest results.

@ghpbot-tari-project ghpbot-tari-project removed the P-reviews_required Process - Requires a review from a lead maintainer to be merged label Mar 12, 2024
@SWvheerden SWvheerden merged commit 243243d into tari-project:development Mar 12, 2024
15 of 16 checks passed
@hansieodendaal hansieodendaal deleted the ho_downgrade_crossterm branch March 12, 2024 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-acks_required Process - Requires more ACKs or utACKs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants