Skip to content

Tags: gdamore/tcell

Tags

v2.7.4

Toggle v2.7.4's commit message
windows: restore cursor location correctly

v2.7.3

Toggle v2.7.3's commit message
terminfo: regenerate all entries

Previously we had lost StrikeThrough, and this fixes a few other
discrepancies.  This was generated on Ubuntu Noble (24.04), after
installing the following packages: ncurses-term kitty-terminfo

v2.7.2

Toggle v2.7.2's commit message
Try not to clear screen on Windows if TCELL_ALTSCREEN=disable

v2.7.1

Toggle v2.7.1's commit message
fixes #621 Unicode disappears if requested twice on the same place on…

… Windows

v2.7.0

Toggle v2.7.0's commit message
fixes #606 Want ColorNone to preserve existing color(s)

While here, consolidate the use of the Fill() function from
CellBuffer (eliminating redundant code).

v2.6.0

Toggle v2.6.0's commit message
minor style fixup

v2.5.4

Toggle v2.5.4's commit message
Fix status badges (broken by shields.io)

v2.5.3

Toggle v2.5.3's commit message
minor markup fixes

v2.5.2

Toggle v2.5.2's commit message
Better handling for monochrome.

We will automatically select an inverse video mode if we cannot
find any colors at all.  This should help some fallbacks.

v2.5.1

Toggle v2.5.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Send AttrOff when clearing the screen (#523)

In tcell v2.4, the following calls would reset the screen
to its default color:

1. SetContent() to change the bg color to maroon.
2. Clear()
3. Show()

In tcell v2.5, the behavior changed to clear the screen
to the last-used style passed to SetContent.

This happens because commit 62f5502 set the dirty flag
to false for all cells, on the assumption that sending
ti.Clear would clear the cells anyway. Unlike the drawCell
calls triggered by the dirty flag, however, clearScreen
does not send AttrOff. This causes the screen to clear
to the last-used background color.