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

charmbracelet / bubbles / 8094780716
37%
master: 45%

Build:
Build:
LAST BUILD BRANCH: v2-exp
DEFAULT BRANCH: master
Ran 29 Feb 2024 10:47AM UTC
Jobs 1
Files 21
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

29 Feb 2024 10:45AM UTC coverage: 36.678% (-0.009%) from 36.687%
8094780716

Pull #185

github

GabrielNagy
feat(textinput): do not block input on validation

This PR builds upon the excellent work in #167 and #114 and makes a
breaking change to the validation API.

Currently, validation will completely block text input if the Validate
function returns an error. This is now changed so the function no longer
blocks input if this is the case, thus handing this responsibility to
the clients.

This is helpful for cases where the user is requested to type an
existing system path, and the Validate function keeps asserting the
existence of the path. With the current implementation such a validation
is not possible.

For example:

    > /
    Err: nil

    > /t
    Err: /t: No such file or directory

    > /tm
    Err: /tm: No such file or directory

    > /tmp
    Err: nil
Pull Request #185: feat(textinput): do not block input on validation

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

1 existing line in 1 file now uncovered.

1539 of 4196 relevant lines covered (36.68%)

57.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8094780716.1 29 Feb 2024 10:47AM UTC 0
36.68
GitHub Action Run
Source Files on build 8094780716
Detailed source file information is not available for this build.
  • Back to Repo
  • Pull Request #185
  • PR Base - master (#8090305123)
  • 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

© 2026 Coveralls, Inc