• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

charmbracelet / bubbletea / 13268579991
50%
main: 72%

Build:
Build:
LAST BUILD BRANCH: windows-fkeys
DEFAULT BRANCH: main
Ran 11 Feb 2025 05:14PM UTC
Jobs 1
Files 25
Run time 303min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Feb 2025 05:13PM UTC coverage: 49.972%. First build
13268579991

Pull #1321

github

aymanbagabas
fix: reset renderer and cursor when releasing terminal

The cursed renderer moves the cursor between renders, which can cause
issues when the terminal is released and restored. For instance, when
we exec a command using tea.Exec, we want the cursor position to remain
the same after the command finishes and goes back to the same position
as before the command was executed.

With tea.Suspend on the other hand, we want to make sure we reset the
cursor position because the program stops executing and is put to
suspend. Resuming the program again initializes the renderer and its
cursor position again from scratch as if it was a new program.

This wasn't an issue for the standard renderer because we always put the
cursor at the lower left corner of the screen. Releasing and restoring
the program wasn't an issue because the cursor was always at the same
position.
Pull Request #1321: fix: reset renderer and cursor when releasing terminal

3 of 8 new or added lines in 3 files covered. (37.5%)

897 of 1795 relevant lines covered (49.97%)

17.79 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
60.0
tty.go
4
62.39
tea.go
Jobs
ID Job ID Ran Files Coverage
1 13268579991.1 11 Feb 2025 05:14PM UTC 25
49.97
GitHub Action Run
Source Files on build 13268579991
  • Tree
  • List 25
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1321
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc