Update module github.com/gdamore/tcell to v2 #8

Merged
alazyreader merged 2 commits from renovate/github.com-gdamore-tcell-2.x into master 2023-04-08 02:44:07 +00:00
Contributor

This PR contains the following updates:

Package Type Update Change
github.com/gdamore/tcell require major v1.4.0 -> v2.6.0

Release Notes

gdamore/tcell

v2.6.0: Version 2.6.0 Feature Release

Compare Source

The main feature introduced in this release is support for web based applications. You can now create applications that run in a browser, and display a simulated terminal emulator in the browser. The initial implementation of this capability was supplied by @​Ahoys123 -- thank you! (We made some follow up bug fixes and improvements.)

More detail about this mode can be found in the README-wasm.md file.

Additionally we added support for alacritty-direct, which was contributed by @​moson-mo.

This version is only tested on go 1.18 and newer. Older versions of go may work, but might also fail, as our dependencies have started using newer compilation flags.

v2.5.4: Version 2.5.4 Bug Fix Release

Compare Source

Version 2.5.4 fixed quite a few things in the 2.5 release chain. Arguably it could also have been a minor release due to some quasi-feature updates. It is anticipated that this will be the last release for 2.5.x.

The next minor release (2.6.0) will probably require updating to at least go 1.17 as we move towards updating imports and adopting additional language features.

Fixes:

  • On Windows (and some other platforms) custom TTYs did not work (#​580)
  • Default to using narrow for ambiguous characters in East Asian locales (#​578)
    This affected a lot of folks in East Asian locales, and now tcell applications should work by default for them.
    If overrides to the RUNEWIDTH_EASTASIAN environment are present they will still be honored.
  • Fix for intermittent screen flashes (#​576)
  • Encoding sub package now registers all encodings when imported. (Explicit call to Register is no longer required)
  • Tutorial program improved to demonstrate panic handling (thanks to Eric S. Raymond)
  • Fix for mouse-wheel/click-drag conflation (#​574)
  • Hyperlink ID support added (#​568) (thanks to Tim Culverhouse)
  • Paste support added to views.Application (#​552) (thanks to Chris Bradbury)
  • WidgetWatcher is concurrency-safe (thanks to Tim Culverhouse)
  • Fix for CellView.Size() (#​553) (thanks to Chris Bradbury)
  • Fix for tput escape sequence errors (#​546)
  • Horizontal, Vertical are now type Orientation (#​543) (thanks to Zaim Bakar)

v2.5.3: Version 2.5.3 Bug Fix Release

Compare Source

Version 2.5.3 only fixed some things related to the documentation.

v2.5.2: Version 2.5.2 Bug Fix & Feature Release

Compare Source

(Technically this should probably have been a new minor as a new feature was introduced.)

  • Better handling of monochrome terminals
  • Console resizing support (#​462) (this new feature allows applications to specify the window size they want.)
  • Minor mouse demo improvements
  • Added support for terminal hyperlinks (#​300)
  • Optimize some output (#​526)
  • Documentation fixes

v2.5.1: Version 2.5.1 Bug Fix Release

Compare Source

This release fixes #​523 - which addresses an unintended behavior when clearing the screen.
The regression was introduced in v2.5.0.

v2.5.0: Version 2.5.0 Feature Release

Compare Source

Version 2.5.0 is a rollup of a number of bug fixes but also includes some new features:

Features:

  • A new SetCursorStyle() is introduced to allow applications to set the cursor shape (#​356)
  • Views API adds mouse support (#​494)
  • Some special enhancements for the foot terminal emulator were added (#​506)

Bugs Fixed:

  • Bug fix where EventError was getting sent after resuming a Screen (#​480)
  • Bug fix for Putty mouse events not working (#​477)
  • Screen.Clear() is greatly optimized, reducing the time to redraw the screen (and hopefully removing flashing) (#​491)
  • Fixes several bugs for termbox
  • Fix for bug causing cgo to crash on macOS (#​492)
  • Fix for mouse tracking being set improperly on exiting (#​512)
  • Fix for go 1.18 with macOS (#​520)
  • Fix for missing tmux-256color terminal (#​521)
  • Fix for incorrect style handling in some circumstances (after screen.Clear() typically) (#​509)

Special Message:

This release contains a special message for the people of Russia. Please see the file UKRAINE.md for more information.

v2.4.0: Version 2.4.0 Feature Release

Compare Source

This release introduces a new channel based API for events (#​465)

This API is an alternative to PollEvent(), and should make tcell easier to use in multiplexed I/O (select statements).

v2.3.11: Version 2.3.11 Bug Fix Release

Compare Source

This fixes a problem with unpredictable output when tcell is being suspended or shutting down.

v2.3.10: Version 2.3.10 Bug Fix Release

Compare Source

This adds support for a Stdin based Tty implementation, and correctly handles the case where terminal sizes are not set properly.

v2.3.9: Version 2.3.9 Bug Fix Release

Compare Source

This adds support (built-in) for the "foot" terminal emulator.

It also fixes a bug so that colors are reset to the defaults for the terminal when tcell is suspended.

v2.3.8: Version 2.3.8 Bug Fix Release

Compare Source

This only affects folks using the Sun / Solaris / illumos console. It removes the sun-256color special entry, and instead makes sun-color 256 color by default. The illumos console has had 8-bit color support since it's inception.

v2.3.7: Version 2.3.7 Bug Fix Release

Compare Source

This permits a different device node to be used than /dev/tty, which may allow uses of tcell in other context (web based terminal applications for example.)

Note: technically this should probably have been a feature release, but I mistakenly tagged it as a patch.

v2.3.6: Version 2.3.6 Bug Fix Release

Compare Source

Add xterm-direct, which gives 24-bit color.

This is necessary as the curses maintainer has taken a very different approach to expressing 24-bit color for xterm than other terminals.

v2.3.5: Version 2.3.5 Bug Fix Release

Compare Source

This simply adds the sun-256color terminal as a built in. It was inadvertently overlooked.

v2.3.4: Version 2.3.4 Bug Fix Release

Compare Source

This fixes the color handling of the Solaris and illumos consoles.

Note that the terminfo entry for these terminals has bugs.

v2.3.3: Version 2.3.3 Bug Fix Release

Compare Source

This fixes a problem handling the last character cell in the bottom row on some terminals, using the auto-margin hack.

v2.3.2: Version 2.3.2 Bug Fix Release

Compare Source

This release creates -256color terminal descriptions if they don't exist.

This should improve color across a number of terminals.

v2.3.1: Version 2.3.1 Bug fix release

Compare Source

This release fixes a resize regression introduced in v2.3.0. Resizing the window would cause a panic in v2.3.0.

v2.3.0: Version 2.3.0 Features & Fixes

Compare Source

Version 2.3.0 brings in three new features, and also addresses a few bugs.

New features:

  • A new Tty interface is available to allow for custom Tty backends (for example to implement an SSH web-based alternative) (fixes #​148)
  • Screen.HasPendingEvent() is provided to permit collecting multiple events between screen refreshes (fixes #​422)
  • FromImageColor() is available to convert an image.Color into a tcell.Color (fixes #​450)

Bug fixes:

  • Notably the tty handling for /dev/tty on UNIX had bugs on suspend or close, affecting Linux in particular (fixes #​452, #​449)
  • Fini was not safe to call if the Screen was suspended (fixes #​460, #​440)

v2.2.1

Compare Source

v2.2.0

Compare Source

v2.1.0

Compare Source

v2.0.0

Compare Source


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](https://github.com/gdamore/tcell) | require | major | `v1.4.0` -> `v2.6.0` | --- ### Release Notes <details> <summary>gdamore/tcell</summary> ### [`v2.6.0`](https://github.com/gdamore/tcell/releases/tag/v2.6.0): Version 2.6.0 Feature Release [Compare Source](https://github.com/gdamore/tcell/compare/v2.5.4...v2.6.0) The main feature introduced in this release is support for web based applications. You can now create applications that run in a browser, and display a simulated terminal emulator in the browser. The initial implementation of this capability was supplied by [@&#8203;Ahoys123](https://github.com/Ahoys123) -- thank you! (We made some follow up bug fixes and improvements.) More detail about this mode can be found in the README-wasm.md file. Additionally we added support for alacritty-direct, which was contributed by [@&#8203;moson-mo](https://github.com/moson-mo). This version is only tested on go 1.18 and newer. Older versions of go *may* work, but might also fail, as our dependencies have started using newer compilation flags. ### [`v2.5.4`](https://github.com/gdamore/tcell/releases/tag/v2.5.4): Version 2.5.4 Bug Fix Release [Compare Source](https://github.com/gdamore/tcell/compare/v2.5.3...v2.5.4) Version 2.5.4 fixed quite a few things in the 2.5 release chain. Arguably it could also have been a minor release due to some quasi-feature updates. It is anticipated that this will be the last release for 2.5.x. The next minor release (2.6.0) will probably require updating to at least go 1.17 as we move towards updating imports and adopting additional language features. Fixes: - On Windows (and some other platforms) custom TTYs did not work ([#&#8203;580](https://github.com/gdamore/tcell/issues/580)) - Default to using narrow for ambiguous characters in East Asian locales ([#&#8203;578](https://github.com/gdamore/tcell/issues/578)) This affected a lot of folks in East Asian locales, and now tcell applications should work by default for them. If overrides to the RUNEWIDTH_EASTASIAN environment are present they will still be honored. - Fix for intermittent screen flashes ([#&#8203;576](https://github.com/gdamore/tcell/issues/576)) - Encoding sub package now registers all encodings when imported. (Explicit call to Register is no longer required) - Tutorial program improved to demonstrate panic handling (thanks to Eric S. Raymond) - Fix for mouse-wheel/click-drag conflation ([#&#8203;574](https://github.com/gdamore/tcell/issues/574)) - Hyperlink ID support added ([#&#8203;568](https://github.com/gdamore/tcell/issues/568)) (thanks to Tim Culverhouse) - Paste support added to views.Application ([#&#8203;552](https://github.com/gdamore/tcell/issues/552)) (thanks to Chris Bradbury) - WidgetWatcher is concurrency-safe (thanks to Tim Culverhouse) - Fix for CellView.Size() ([#&#8203;553](https://github.com/gdamore/tcell/issues/553)) (thanks to Chris Bradbury) - Fix for tput escape sequence errors ([#&#8203;546](https://github.com/gdamore/tcell/issues/546)) - Horizontal, Vertical are now type Orientation ([#&#8203;543](https://github.com/gdamore/tcell/issues/543)) (thanks to Zaim Bakar) ### [`v2.5.3`](https://github.com/gdamore/tcell/releases/tag/v2.5.3): Version 2.5.3 Bug Fix Release [Compare Source](https://github.com/gdamore/tcell/compare/v2.5.2...v2.5.3) Version 2.5.3 only fixed some things related to the documentation. ### [`v2.5.2`](https://github.com/gdamore/tcell/releases/tag/v2.5.2): Version 2.5.2 Bug Fix &amp; Feature Release [Compare Source](https://github.com/gdamore/tcell/compare/v2.5.1...v2.5.2) (Technically this should probably have been a new minor as a new feature was introduced.) - Better handling of monochrome terminals - Console resizing support ([#&#8203;462](https://github.com/gdamore/tcell/issues/462)) (this new feature allows applications to specify the window size they want.) - Minor mouse demo improvements - Added support for terminal hyperlinks ([#&#8203;300](https://github.com/gdamore/tcell/issues/300)) - Optimize some output ([#&#8203;526](https://github.com/gdamore/tcell/issues/526)) - Documentation fixes ### [`v2.5.1`](https://github.com/gdamore/tcell/releases/tag/v2.5.1): Version 2.5.1 Bug Fix Release [Compare Source](https://github.com/gdamore/tcell/compare/v2.5.0...v2.5.1) This release fixes [#&#8203;523](https://github.com/gdamore/tcell/issues/523) - which addresses an unintended behavior when clearing the screen. The regression was introduced in v2.5.0. ### [`v2.5.0`](https://github.com/gdamore/tcell/releases/tag/v2.5.0): Version 2.5.0 Feature Release [Compare Source](https://github.com/gdamore/tcell/compare/v2.4.0...v2.5.0) Version 2.5.0 is a rollup of a number of bug fixes but also includes some new features: Features: - A new SetCursorStyle() is introduced to allow applications to set the cursor shape ([#&#8203;356](https://github.com/gdamore/tcell/issues/356)) - Views API adds mouse support ([#&#8203;494](https://github.com/gdamore/tcell/issues/494)) - Some special enhancements for the foot terminal emulator were added ([#&#8203;506](https://github.com/gdamore/tcell/issues/506)) Bugs Fixed: - Bug fix where EventError was getting sent after resuming a Screen ([#&#8203;480](https://github.com/gdamore/tcell/issues/480)) - Bug fix for Putty mouse events not working ([#&#8203;477](https://github.com/gdamore/tcell/issues/477)) - Screen.Clear() is greatly optimized, reducing the time to redraw the screen (and hopefully removing flashing) ([#&#8203;491](https://github.com/gdamore/tcell/issues/491)) - Fixes several bugs for termbox - Fix for bug causing cgo to crash on macOS ([#&#8203;492](https://github.com/gdamore/tcell/issues/492)) - Fix for mouse tracking being set improperly on exiting ([#&#8203;512](https://github.com/gdamore/tcell/issues/512)) - Fix for go 1.18 with macOS ([#&#8203;520](https://github.com/gdamore/tcell/issues/520)) - Fix for missing tmux-256color terminal ([#&#8203;521](https://github.com/gdamore/tcell/issues/521)) - Fix for incorrect style handling in some circumstances (after screen.Clear() typically) ([#&#8203;509](https://github.com/gdamore/tcell/issues/509)) Special Message: This release contains a special message for the people of Russia. Please see the file UKRAINE.md for more information. ### [`v2.4.0`](https://github.com/gdamore/tcell/releases/tag/v2.4.0): Version 2.4.0 Feature Release [Compare Source](https://github.com/gdamore/tcell/compare/v2.3.11...v2.4.0) This release introduces a new channel based API for events ([#&#8203;465](https://github.com/gdamore/tcell/issues/465)) This API is an alternative to PollEvent(), and should make tcell easier to use in multiplexed I/O (select statements). ### [`v2.3.11`](https://github.com/gdamore/tcell/releases/tag/v2.3.11): Version 2.3.11 Bug Fix Release [Compare Source](https://github.com/gdamore/tcell/compare/v2.3.10...v2.3.11) This fixes a problem with unpredictable output when tcell is being suspended or shutting down. ### [`v2.3.10`](https://github.com/gdamore/tcell/releases/tag/v2.3.10): Version 2.3.10 Bug Fix Release [Compare Source](https://github.com/gdamore/tcell/compare/v2.3.9...v2.3.10) This adds support for a Stdin based Tty implementation, and correctly handles the case where terminal sizes are not set properly. ### [`v2.3.9`](https://github.com/gdamore/tcell/releases/tag/v2.3.9): Version 2.3.9 Bug Fix Release [Compare Source](https://github.com/gdamore/tcell/compare/v2.3.8...v2.3.9) This adds support (built-in) for the "foot" terminal emulator. It also fixes a bug so that colors are reset to the defaults for the terminal when tcell is suspended. ### [`v2.3.8`](https://github.com/gdamore/tcell/releases/tag/v2.3.8): Version 2.3.8 Bug Fix Release [Compare Source](https://github.com/gdamore/tcell/compare/v2.3.7...v2.3.8) This only affects folks using the Sun / Solaris / illumos console. It removes the sun-256color special entry, and instead makes sun-color 256 color by default. The illumos console has had 8-bit color support since it's inception. ### [`v2.3.7`](https://github.com/gdamore/tcell/releases/tag/v2.3.7): Version 2.3.7 Bug Fix Release [Compare Source](https://github.com/gdamore/tcell/compare/v2.3.6...v2.3.7) This permits a different device node to be used than /dev/tty, which may allow uses of tcell in other context (web based terminal applications for example.) Note: technically this should probably have been a feature release, but I mistakenly tagged it as a patch. ### [`v2.3.6`](https://github.com/gdamore/tcell/releases/tag/v2.3.6): Version 2.3.6 Bug Fix Release [Compare Source](https://github.com/gdamore/tcell/compare/v2.3.5...v2.3.6) Add xterm-direct, which gives 24-bit color. This is necessary as the curses maintainer has taken a very different approach to expressing 24-bit color for xterm than other terminals. ### [`v2.3.5`](https://github.com/gdamore/tcell/releases/tag/v2.3.5): Version 2.3.5 Bug Fix Release [Compare Source](https://github.com/gdamore/tcell/compare/v2.3.4...v2.3.5) This simply adds the sun-256color terminal as a built in. It was inadvertently overlooked. ### [`v2.3.4`](https://github.com/gdamore/tcell/releases/tag/v2.3.4): Version 2.3.4 Bug Fix Release [Compare Source](https://github.com/gdamore/tcell/compare/v2.3.3...v2.3.4) This fixes the color handling of the Solaris and illumos consoles. Note that the terminfo entry for these terminals has bugs. ### [`v2.3.3`](https://github.com/gdamore/tcell/releases/tag/v2.3.3): Version 2.3.3 Bug Fix Release [Compare Source](https://github.com/gdamore/tcell/compare/v2.3.2...v2.3.3) This fixes a problem handling the last character cell in the bottom row on some terminals, using the auto-margin hack. ### [`v2.3.2`](https://github.com/gdamore/tcell/releases/tag/v2.3.2): Version 2.3.2 Bug Fix Release [Compare Source](https://github.com/gdamore/tcell/compare/v2.3.1...v2.3.2) This release creates -256color terminal descriptions if they don't exist. This should improve color across a number of terminals. ### [`v2.3.1`](https://github.com/gdamore/tcell/releases/tag/v2.3.1): Version 2.3.1 Bug fix release [Compare Source](https://github.com/gdamore/tcell/compare/v2.3.0...v2.3.1) This release fixes a resize regression introduced in v2.3.0. Resizing the window would cause a panic in v2.3.0. ### [`v2.3.0`](https://github.com/gdamore/tcell/releases/tag/v2.3.0): Version 2.3.0 Features &amp; Fixes [Compare Source](https://github.com/gdamore/tcell/compare/v2.2.1...v2.3.0) Version 2.3.0 brings in three new features, and also addresses a few bugs. New features: - A new Tty interface is available to allow for custom Tty backends (for example to implement an SSH web-based alternative) (fixes [#&#8203;148](https://github.com/gdamore/tcell/issues/148)) - Screen.HasPendingEvent() is provided to permit collecting multiple events between screen refreshes (fixes [#&#8203;422](https://github.com/gdamore/tcell/issues/422)) - FromImageColor() is available to convert an image.Color into a tcell.Color (fixes [#&#8203;450](https://github.com/gdamore/tcell/issues/450)) Bug fixes: - Notably the tty handling for /dev/tty on UNIX had bugs on suspend or close, affecting Linux in particular (fixes [#&#8203;452](https://github.com/gdamore/tcell/issues/452), [#&#8203;449](https://github.com/gdamore/tcell/issues/449)) - Fini was not safe to call if the Screen was suspended (fixes [#&#8203;460](https://github.com/gdamore/tcell/issues/460), [#&#8203;440](https://github.com/gdamore/tcell/issues/440)) ### [`v2.2.1`](https://github.com/gdamore/tcell/compare/v2.2.0...v2.2.1) [Compare Source](https://github.com/gdamore/tcell/compare/v2.2.0...v2.2.1) ### [`v2.2.0`](https://github.com/gdamore/tcell/compare/v2.1.0...v2.2.0) [Compare Source](https://github.com/gdamore/tcell/compare/v2.1.0...v2.2.0) ### [`v2.1.0`](https://github.com/gdamore/tcell/compare/v2.0.0...v2.1.0) [Compare Source](https://github.com/gdamore/tcell/compare/v2.0.0...v2.1.0) ### [`v2.0.0`](https://github.com/gdamore/tcell/compare/v1.4.0...v2.0.0) [Compare Source](https://github.com/gdamore/tcell/compare/v1.4.0...v2.0.0) </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:eyJjcmVhdGVkSW5WZXIiOiIzNS4yMi4xIiwidXBkYXRlZEluVmVyIjoiMzUuMjIuMSJ9-->
renovate added 1 commit 2023-04-07 01:01:11 +00:00
ci/woodpecker/push/woodpecker Pipeline was successful Details
d301b8ce11
Update module github.com/gdamore/tcell to v2
renovate force-pushed renovate/github.com-gdamore-tcell-2.x from d301b8ce11 to 2118e8b790 2023-04-08 00:02:46 +00:00 Compare
alazyreader added 1 commit 2023-04-08 02:42:59 +00:00
ci/woodpecker/push/woodpecker Pipeline was successful Details
0a5cea9fb1
finish upgrade
alazyreader merged commit ef55ec0663 into master 2023-04-08 02:44:07 +00:00
alazyreader deleted branch renovate/github.com-gdamore-tcell-2.x 2023-04-08 02:44:10 +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#8
No description provided.