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

charmbracelet / bubbles / 8275750516
37%
main: 50%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/all-d7ca598f58
DEFAULT BRANCH: main
Ran 14 Mar 2024 05:06AM 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

14 Mar 2024 05:02AM UTC coverage: 37.122% (+0.5%) from 36.648%
8275750516

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

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

103 existing lines in 1 file now uncovered.

1558 of 4197 relevant lines covered (37.12%)

69.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8275750516.1 14 Mar 2024 05:06AM UTC 0
37.12
GitHub Action Run
Source Files on build 8275750516
Detailed source file information is not available for this build.
  • Back to Repo
  • Pull Request #496
  • PR Base - master (#8274019070)
  • 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