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

cockroachdb / bubbline / 26296923346
65%
main: 65%

Build:
Build:
LAST BUILD BRANCH: pmattis/io-options
DEFAULT BRANCH: main
Ran 22 May 2026 03:33PM 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:26PM UTC coverage: 64.672% (-0.2%) from 64.836%
26296923346

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%)

1783 of 2757 relevant lines covered (64.67%)

547.77 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
0.0
0.0% getline.go
Jobs
ID Job ID Ran Files Coverage
1 26296923346.1 22 May 2026 03:33PM UTC 19
64.67
GitHub Action Run
Source Files on build 26296923346
  • Tree
  • List 19
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 7940e2ad on github
  • Prev Build on main (#26297358399)
  • Next Build on pmattis/io-options (#26297658046)
  • 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