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

charmbracelet / bubbletea / 8117074755
61%
main: 72%

Build:
Build:
LAST BUILD BRANCH: windows-fkeys
DEFAULT BRANCH: main
Ran 01 Mar 2024 08:53PM UTC
Jobs 1
Files 16
Run time 1min
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

01 Mar 2024 08:53PM UTC coverage: 75.677% (+0.3%) from 75.336%
8117074755

push

github

web-flow
feat: reduce console/term dependencies (#897)

Replace mattn/isatty and containerd/console with golang.org/x/term.

This mostly affects Windows. On Windows, unlike Unix, the console (TTY)
has different handles for input/output. Using the Console API, we need
to enable VT input on the input handle (CONIN) and VT processing on the
output handle (CONOUT). Doing so enables processing VT sequences on
Windows i.e. ANSI colors, mouse sequences, cursor movements, etc.

We already handle enabling VT processing for the program output using
Termenv `EnableVirtualTerminalProcessing`. For the input side, we enable
VT input right before setting the console to raw.

By doing this, we can drop both containerd/console and mattn/isatty.

10 of 16 new or added lines in 3 files covered. (62.5%)

4 existing lines in 2 files now uncovered.

1173 of 1550 relevant lines covered (75.68%)

194.61 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
76.56
0.0% tea.go
2
66.67
4.9% tty.go
3
26.67
-6.67% tty_unix.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
66.67
4.9% tty.go
2
26.67
-6.67% tty_unix.go
Jobs
ID Job ID Ran Files Coverage
1 8117074755.1 01 Mar 2024 08:53PM UTC 16
75.68
GitHub Action Run
Source Files on build 8117074755
  • Tree
  • List 16
  • Changed 5
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 46241068 on github
  • Prev Build on master (#8117029911)
  • Next Build on master (#8117134317)
  • 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

© 2025 Coveralls, Inc