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(deps): update module github.com/gdamore/tcell/v2 to v2.7.0 #526

Merged
merged 1 commit into from
Dec 10, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 10, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/gdamore/tcell/v2 require minor v2.6.1-0.20231208081952-337e381927d4 -> v2.7.0

Release Notes

gdamore/tcell (github.com/gdamore/tcell/v2)

v2.7.0: Version 2.7.0 Feature Release

Compare Source

Significant changes in this release:

  • Introduced ColorNone which can be used in a style to avoid changing the existing foreground or background color.
  • Refactored the screen logic to provide better code reuse and facilitate extending the Screen API in future releases. (This changes internal APIs only)
  • Color grew some methods to report a String() (color name) or CSS() (color hex string in CSS style)
  • LockRegion() and Tty API changes from Tim Culverhouse [email protected] in support of Sixel coexistence. This does not itself provide support for Sixel graphics, but it allows tcell applications to be used with other sixel graphics libraries.
  • Mouse focus reporting (see EnableFocus(), DisableFocus(), and EventFocus) courtesy of stk [email protected] (I also added support for focus reporting in the WASM terminal.) Windows console does not report this yet.

The refactoring in particular will enable some further improvements. Also, we added more test cases and coverage. While much of tcell remains uncovered by formal testing, every improvement here is welcome.

I expect to follow up with another release soon -- things I'm hoping for are gpm mouse support for the linux console (oft-requested), refactoring wide character support to fix some long standing bugs, and convenience methods to apply content or style changes to a rectangular region of the screen. In the meantime, I hope you enjoy this release!

Fixes (relative to 2.6.0)

  • mouse demo: fix crash when multiple buttons pressed together
  • Fix dynamic terminfo when an alias is used (#​639) (courtesy of Tim Culverhouse [email protected])
  • Screen.Clear — Flickering on Windows (#​647)
  • Fix for broken Windows
  • Fixes for scrolling and button event handling (courtesy of Matthew Roseman <mroseman95@​gmail.com>)
  • Add LookupTerminfo stub for wasm (#​617) (courtesy of Remko Tronçon [email protected])
  • Support Xterm modifier keys for dynamic terminfos (courtesy of delthas [email protected])
  • Fix underlines in Windows console mode (courtesy of bjorndm [email protected])

Contributors

This release had more external contributors than has been usual, for which I'm very grateful. Thank you! (If I forgot to mention anyone, please accept my apologies!)


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from batmac as a code owner December 10, 2023 22:59
@renovate renovate bot added the renovate label Dec 10, 2023
@renovate renovate bot enabled auto-merge (rebase) December 10, 2023 22:59
Copy link

codecov bot commented Dec 10, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (72bacf0) 58.10% compared to head (387f0f5) 58.10%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #526   +/-   ##
=======================================
  Coverage   58.10%   58.10%           
=======================================
  Files         102      102           
  Lines        3812     3812           
=======================================
  Hits         2215     2215           
  Misses       1347     1347           
  Partials      250      250           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot merged commit 7acb068 into main Dec 10, 2023
25 checks passed
@renovate renovate bot deleted the renovate/github.com-gdamore-tcell-v2-2.x branch December 10, 2023 23:27
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants