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

charmbracelet / bubbles / 8579078425
45%

Build:
DEFAULT BRANCH: master
Ran 06 Apr 2024 05:38AM 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

06 Apr 2024 05:37AM UTC coverage: 37.208% (+0.6%) from 36.648%
8579078425

push

github

maaslalani
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>

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

1562 of 4198 relevant lines covered (37.21%)

71.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8579078425.1 06 Apr 2024 05:38AM UTC 21
37.21
GitHub Action Run
Source Files on build 8579078425
  • Tree
  • List 21
  • Changed 4
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 48dffdd9 on github
  • Prev Build on master (#8274019070)
  • Next Build on master (#8788963843)
  • 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

© 2025 Coveralls, Inc