Skip to content

Version 2.7.2 Improvement Release

Compare
Choose a tag to compare
@gdamore gdamore released this 02 Mar 22:40
· 29 commits to main since this 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.