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

charmbracelet / bubbles / 8578340571 / 1
37%
master: 45%

Build:
Build:
LAST BUILD BRANCH: v2-exp
DEFAULT BRANCH: master
Ran 06 Apr 2024 03:14AM UTC
Files 21
Run time 0s
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

06 Apr 2024 03:13AM UTC coverage: 37.208% (+0.6%) from 36.648%
8578340571.1

Pull #496

github

mikelorant
refactor(textarea): Improve setting width

When setting the width of the textarea there were some issues
preventing this from working correctly. These problems included:

- If the maximum width needed to be used, the width of the textarea did
  not take into account the prompt and line number width.
- The viewport width did not take into account the style width.

The entire function was confusing to understand and a refactor was
warranted.

As part of this refactor, the bugs mentioned above were fixed and the
code was simplified.

To verify that the logic works as expected, unit tests were expanded to
validate that setting the width works as expected.

Signed-off-by: Michael Lorant <michael.lorant@nine.com.au>
Pull Request #496: refactor(textarea): Improve setting width

1562 of 4198 relevant lines covered (37.21%)

71.87 hits per line

Source Files on job 8578340571.1
  • Tree
  • List 21
  • Changed 4
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8578340571
  • 1092fe5b on github
  • Prev Job for on fix/text-area-set-width (#8274019070.1)
  • 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