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

charmbracelet / bubbles / 13139896383
50%
master: 45%

Build:
Build:
LAST BUILD BRANCH: v2-exp
DEFAULT BRANCH: master
Ran 04 Feb 2025 04:16PM UTC
Jobs 1
Files 22
Run time 5min
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

04 Feb 2025 04:15PM UTC coverage: 47.277% (+1.4%) from 45.845%
13139896383

push

github

web-flow
feat(viewport)!: gutter column, soft wrap, search highlight (#697)

* horizontal scroll

* rebase branch

* add tests

* add tests with 2 cells symbols

* trimLeft, move to charmbracelete/x/ansi lib

* up ansi package

* Update viewport/viewport.go

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: do not navigate out to the right

* fix: cache line width on setcontent

* fix tests

* fix viewport tests

* add test for preventing right overscroll

* chore(viewport): increase horizontal step to 6

* chore(viewport): make horizontal scroll API better match vertical scroll API

* fix: nolint

* fix: use ansi.Cut

* perf: do not cut anything if not needed

* feat: expose HorizontalScrollPercent

* fix: do not scroll if width is 0

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: visible lines take frame into account

* feat(viewport): column sign

* feat: gutter, soft wrap

* wip: search

* wip: search

* wip: search

* fix: perf

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: rename

* wip

* wip

* refactor: viewport highlight ranges

* fix: ligloss update

* doc: godoc

* feat: fill height optional

* fix: handle no content

* fix: empty lines

* wip

* wip

* Revert "wip"

This reverts commit 933f181e8.

* Reapply "wip"

This reverts commit 0e3e31b70.

* fix: wide

* fix: wide, find

* still not quite there

* fix: grapheme width

* fix: cleanups

* fix: refactors, improves highlight visibility

* docs: godoc

* chore: lipgloss update

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* chore: x/ansi update

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: typos, godocs

Signed-off-by: Carlos Alexandro Becker <caarlos0@... (continued)

199 of 275 new or added lines in 2 files covered. (72.36%)

2 existing lines in 1 file now uncovered.

2240 of 4738 relevant lines covered (47.28%)

79.83 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
91.14
viewport/highlight.go
69
48.52
11.66% viewport/viewport.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
48.52
11.66% viewport/viewport.go
Jobs
ID Job ID Ran Files Coverage
1 13139896383.1 04 Feb 2025 04:16PM UTC 22
47.28
GitHub Action Run
Source Files on build 13139896383
  • Tree
  • List 22
  • Changed 2
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • edbb81c1 on github
  • Prev Build on v2-exp (#13080987362)
  • Next Build on v2-exp (#13141854944)
  • 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