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

charmbracelet / bubbletea / 12054806110
72%
main: 72%

Build:
Build:
LAST BUILD BRANCH: windows-fkeys
DEFAULT BRANCH: main
Ran 27 Nov 2024 04:50PM UTC
Jobs 1
Files 17
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

27 Nov 2024 04:47PM UTC coverage: 71.958% (-0.3%) from 72.277%
12054806110

Pull #1255

github

caarlos0
feat(SIGINT): better handle interrupts

This PR introduces `Interrupt()`, `InterruptMsg{}`, and
`ErrInterrupted`.

Users can still handle "ctrl+c" as before, but instead of return
`tea.Quit`, they can return `tea.Interrupt`.

Later on, they can `errors.If(err, tea.ErrInterrupted)` and
`os.Exit(130)` if they want to.
Pull Request #1255: feat(SIGINT): better handle interrupts

4 of 15 new or added lines in 1 file covered. (26.67%)

1242 of 1726 relevant lines covered (71.96%)

177.1 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
11
72.14
-1.34% tea.go
Jobs
ID Job ID Ran Files Coverage
1 12054806110.1 27 Nov 2024 04:50PM UTC 17
71.96
GitHub Action Run
Source Files on build 12054806110
  • Tree
  • List 17
  • Changed 3
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1255
  • PR Base - main (#12012574806)
  • 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