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

cockroachdb / bubbline / 26297658046
65%
main: 65%

Build:
Build:
LAST BUILD BRANCH: pmattis/io-options
DEFAULT BRANCH: main
Ran 22 May 2026 03:48PM UTC
Jobs 1
Files 19
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

22 May 2026 03:47PM UTC coverage: 64.646% (-0.03%) from 64.672%
26297658046

push

github

petermattis
bubbline: thread Input/Output through to bubbletea program

GetLine() unconditionally passes the bubbletea program the process's
stdin/stdout. That works for the standalone case where the editor
runs in the foreground terminal, but it forecloses use of bubbline
as a library: an embedder that drives the editor over a PTY pair,
SSH channel, or any other non-stdio transport has no way to bind
the editor's I/O to those file descriptors.

Add two exported io.Reader/io.Writer fields on Editor, set in the
same direct-field-assignment style as MaxHistorySize, Reflow, etc.
When non-nil they are passed through as tea.WithInput / tea.WithOutput
options on the program; when nil the existing behavior is preserved
byte-for-byte, so consumers that don't set them see no change.

0 of 8 new or added lines in 1 file covered. (0.0%)

65 existing lines in 3 files now uncovered.

1781 of 2755 relevant lines covered (64.65%)

548.15 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
0.0
0.0% getline.go

Coverage Regressions

Lines Coverage ∆ File
32
91.66
-0.02% editline/internal/textarea/textarea.go
29
0.0
0.0% getline.go
4
91.3
0.0% history/history.go
Jobs
ID Job ID Ran Files Coverage
1 26297658046.1 22 May 2026 03:48PM UTC 19
64.65
GitHub Action Run
Source Files on build 26297658046
  • Tree
  • List 19
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1bbed510 on github
  • Prev Build on pmattis/io-options (#26296923346)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc