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

umputun / fya / 26769479590
86%
master: 86%

Build:
Build:
LAST BUILD BRANCH: fix/transcript-select-prefix-match
DEFAULT BRANCH: master
Ran 02 Jun 2026 07:05AM UTC
Jobs 1
Files 13
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 Jun 2026 04:57PM UTC coverage: 85.785%. Remained the same
26769479590

Pull #4

github

Rishi Khan
fix: use bracketed paste to inject multi-line paste-mode prompts as one message

In paste mode the injector replaced each internal newline with ESC+CR
(\x1b\r, Meta+Enter) to keep a multi-line prompt as a single Claude
message:

    body := strings.ReplaceAll(prompt, "\n", newlineWithoutSubmit)

Claude's TUI intermittently parses the ESC standalone and the following
CR as a submit, splitting one prompt into several message submissions.
This is reliably triggerable with large multi-line prompts, which exceed
the --max-wpm-size word threshold and therefore always go through paste
mode. When the prompt fragments, the turn never reaches a clean end_turn,
so a streaming consumer waiting on the terminal event stalls until its
own wall-clock timeout instead of completing.

Wrap the paste body in bracketed-paste markers (\x1b[200~ … \x1b[201~)
so the terminal/TUI buffers the entire block — embedded LF newlines
included — as one literal paste, then submit with a single trailing CR.
Embedded newlines can no longer be misread as submits regardless of TUI
timing.

Scope is paste mode only. Typed (rune-by-rune) mode still emits ESC+CR
for internal newlines; the fragmentation was not reproducible there, so
that path is left unchanged. Tests, the input newline-normalizer comment,
and ARCHITECTURE.md are updated to match.
Pull Request #4: fix: use bracketed paste to inject multi-line paste-mode prompts as one message

1 of 1 new or added line in 1 file covered. (100.0%)

1388 of 1618 relevant lines covered (85.78%)

13.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26769479590.1 02 Jun 2026 07:05AM UTC 13
85.78
GitHub Action Run
Source Files on build 26769479590
  • Tree
  • List 13
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #4
  • PR Base - master (#26730152413)
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

© 2026 Coveralls, Inc