Update module github.com/gdamore/tcell/v2 to v2.7.0 #16

Merged
alazyreader merged 2 commits from renovate/github.com-gdamore-tcell-v2-2.x into master 2023-12-24 20:06:45 +00:00
Contributor

This PR contains the following updates:

Package Type Update Change
github.com/gdamore/tcell/v2 require minor v2.6.0 -> 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 tim@timculverhouse.com 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 stk@ableton.com (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 tim@timculverhouse.com)
  • 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 remko@bookwidgets.com)
  • Support Xterm modifier keys for dynamic terminfos (courtesy of delthas delthas@dille.cc)
  • Fix underlines in Windows console mode (courtesy of bjorndm bjorn.de.meyer@gmail.com)

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: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell) | require | minor | `v2.6.0` -> `v2.7.0` | --- ### Release Notes <details> <summary>gdamore/tcell (github.com/gdamore/tcell/v2)</summary> ### [`v2.7.0`](https://github.com/gdamore/tcell/releases/tag/v2.7.0): Version 2.7.0 Feature Release [Compare Source](https://github.com/gdamore/tcell/compare/v2.6.0...v2.7.0) 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 <tim@timculverhouse.com> 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 <stk@ableton.com> (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 ([#&#8203;639](https://github.com/gdamore/tcell/issues/639)) (courtesy of Tim Culverhouse <tim@timculverhouse.com>) - Screen.Clear — Flickering on Windows ([#&#8203;647](https://github.com/gdamore/tcell/issues/647)) - Fix for broken Windows - Fixes for scrolling and button event handling (courtesy of Matthew Roseman <mroseman95@&#8203;gmail.com>) - Add LookupTerminfo stub for wasm ([#&#8203;617](https://github.com/gdamore/tcell/issues/617)) (courtesy of Remko Tronçon <remko@bookwidgets.com>) - Support Xterm modifier keys for dynamic terminfos (courtesy of delthas <delthas@dille.cc>) - Fix underlines in Windows console mode (courtesy of bjorndm <bjorn.de.meyer@gmail.com>) #### 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!) - Tim Culverhouse <tim@timculverhouse.com> - stk <stk@ableton.com> - Matthew Roseman <mroseman95@&#8203;gmail.com> - Remko Tronçon <remko@bookwidgets.com> - delthas <delthas@dille.cc> - bjorndm <bjorn.de.meyer@gmail.com> - Junegunn Choi <junegunn.c@gmail.com> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41Mi4yIiwidXBkYXRlZEluVmVyIjoiMzYuNTIuMiIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
renovate added 1 commit 2023-12-14 22:01:37 +00:00
alazyreader added 1 commit 2023-12-24 20:05:20 +00:00
ci/woodpecker/push/woodpecker Pipeline was successful Details
878635450c
add methods to mockscreen
alazyreader merged commit dc7218131d into master 2023-12-24 20:06:45 +00:00
alazyreader deleted branch renovate/github.com-gdamore-tcell-v2-2.x 2023-12-24 20:06:45 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: alazyreader/library#16
No description provided.