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

gookit / cliui
73%

Build:
DEFAULT BRANCH: main
Repo Added 23 Apr 2026 06:23AM UTC
Token BiISzOQ2EOFjIEqJTataDqbGftP1i62xl regen
Build 51 Last
Files 52
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

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • dependabot/go_modules/github.com/gookit/goutil-0.7.5
  • main
  • refs/tags/v0.1.0
  • refs/tags/v0.2.0
  • refs/tags/v0.2.1
  • refs/tags/v0.2.2
  • refs/tags/v0.2.3
  • refs/tags/v0.2.4
  • refs/tags/v0.3.0

25 Sep 2026 03:42AM UTC coverage: 73.456% (+0.6%) from 72.864%
36091440181

push

github

inhere
fix(interact): read plain backend input on demand

plain.Session wrapped the input stream in a per-session bufio.Reader and ran
an eager reader goroutine that pulled every line into a private channel.
ReadEvent consumed a single line, but the lines already read stayed trapped in
the session that was ending, so any later prompt on the same stream (pipe or
redirected stdin) only saw EOF.

Read one line per call instead, byte by byte, so bytes after the requested line
stay in the stream. At most one read is in flight per session and a call
cancelled by ctx resumes that read instead of abandoning it, so no line is
dropped and no second reader races the stream. A read after the input ends now
reports the error again instead of blocking on an empty channel.

Verified: the interact-ui demo with redirected stdin died at the second prompt
with EOF before the change and completes all four prompts after it.

37 of 39 new or added lines in 1 file covered. (94.87%)

3639 of 4954 relevant lines covered (73.46%)

3.14 hits per line

Relevant lines Covered
Build:
Build:
4954 RELEVANT LINES 3639 COVERED LINES
3.14 HITS PER LINE
Source Files on main
  • Tree
  • List 52
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
36091440181 main fix(interact): read plain backend input on demand plain.Session wrapped the input stream in a per-session bufio.Reader and ran an eager reader goroutine that pulled every line into a private channel. ReadEvent consumed a single line, but the line... push 25 Sep 2026 03:42AM UTC inhere github
73.46
36020396933 main chore: fix staticcheck findings - drop unused Collector.err and InputParam.err fields - cparam.InputParam.Run: avoid shadowing the named err (SA4006) - emoji: use raw strings for the unicode regexes; range over the string instead of []rune(s) i... push 24 Sep 2026 03:28PM UTC inhere github
72.86
36018400906 main docs: record the table/readline/hidden-input follow-up fixes Co-authored-by: CommandCodeBot <noreply@commandcode.ai> push 24 Sep 2026 03:12PM UTC inhere github
72.82
35978380854 main docs: record the progress/table follow-up fixes Co-authored-by: CommandCodeBot <noreply@commandcode.ai> push 24 Sep 2026 08:58AM UTC inhere github
72.5
35969131930 main docs: record the progress/alert/readline/interact follow-up fixes Co-authored-by: CommandCodeBot <noreply@commandcode.ai> push 24 Sep 2026 07:21AM UTC inhere github
72.28
35946900927 main docs: record the completed non-breaking fixes and leftovers cleanup Co-authored-by: CommandCodeBot <noreply@commandcode.ai> push 24 Sep 2026 02:21AM UTC inhere github
71.18
35943518648 main docs: document the breaking API changes and update examples - add the breaking-API design doc (new signatures + migration guide) - update interact/show doc snippets to the new error returns - record phase 3 status in the bugfix plan Co-authored-... push 24 Sep 2026 01:34AM UTC inhere github
70.59
35895887093 main docs(plans): add cliui bugfix plan and execution result Co-authored-by: CommandCodeBot <noreply@commandcode.ai> push 23 Sep 2026 05:29PM UTC inhere github
70.72
31362769007 main build(deps): bump actions/setup-go from 6 to 7 (#12) push 10 Aug 2026 06:39AM UTC GitHub github
64.6
28414678849 main fix(readline): handle wrapped render rows push 30 Jun 2026 01:47AM UTC inhere github
64.6
See All Builds (41)

Badge your Repo: cliui

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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