mum4k / termdash

Terminal based dashboard.
Apache License 2.0
2.69k stars 133 forks source link

Bump github.com/gdamore/tcell/v2 from 2.7.0 to 2.7.4 #372

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 6 months ago

Bumps github.com/gdamore/tcell/v2 from 2.7.0 to 2.7.4.

Release notes

Sourced from github.com/gdamore/tcell/v2's releases.

Version 2.7.4 Bug Fix Release

This release fixes a problem with restoring cursor location properly on Windows.

It also includes a new stress test for your terminal (FPS monitor) contributed by @​Bios-Marcel

Version 2.7.3 Bug Fix Release

This release just updates the terminfo data using current data from Ubuntu 24.04 (Noble). It fixes a regression where we dropped some capabilities including StrikeThrough for some terminals.

Version 2.7.2 Improvement Release

This release does not add new APIs, but it does improve the functionality of tcell on Windows, and provides an "undocumented" feature for managing the alternate screen buffer.

  • Windows uses VT mode output everywhere except on ConEmu (because VT output mode on ConEmu is borked for colors)
    • The TCELL_VTMODE environment variable can be set to "enable" or "disable" to force attempting to use (or not) this mode.
  • Windows now uses the alternate screen buffer by default, and preserves the original screen content
  • Use of the alternate screen can be disabled setting the TCELL_ALTSCREEN environment variable to "disable".
  • If the alternate screen is disabled in that fashion, we will not clear the screen either. This is an experimental way to preserve the output from a tcell application on exit or suspend. Feedback on this would be appreciated.

The specific environment variables listed here are not considered part of the Tcell API, and their presence and meaning may change without notice at any time. Please consider them experimental and let us know whether these are useful or not.

Version 2.7.1 Bug Fix Release

This release fixes a few problems, and also adds a feature that was missing on Windows.

  • Fix for disappearing wide (including emoji) characters on Windows (#621)
  • Fix for wide characters causing scrolling when on bottom line on UNIX/Linux (#679)
  • Fix for PollEvent returning nil on screen Suspend (regression) (#687)
  • Fix for AltGr modifiers on Windows, contributed by stk stk@ableton.com

Additionally:

  • Support for the termite (defunct) was removed from the built-in terminals. The fallback support by parsing terminfo still works. The termite project is now abandoned and the project advises users to use Alacritty (which is natively supported in tcell.)
  • Support for focus event reporting was added for Windows
  • The Views API no longer uses deprecated tcell functions internally (#682)
Commits
  • d1364d5 windows: restore cursor location correctly
  • b02dac3 fix stress demo (race on close)
  • 2c305c0 Add little stresser that just draws as much 'random' stuff as possible
  • de40850 terminfo: regenerate all entries
  • 6c95e8d Try not to clear screen on Windows if TCELL_ALTSCREEN=disable
  • 6984e25 Allow use of TCELL_ALTSCREEN=disable to disable alternate screen.
  • 552bf3c windows: Use alt screen by default (supress with TCELL_ALTSCREEN=disable)
  • 5a591d4 Use automargin disable
  • f6c43a3 ConEmu fixes - we cannot go to 24-bit mode on that yet.
  • cd0fe98 Windows: enable VT mode output by default
  • Additional commits viewable in compare view


Dependabot compatibility score

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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)