mirror of
https://github.com/zoriya/bubbles.git
synced 2026-08-05 12:46:14 +00:00
* 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 --------- Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> Co-authored-by: Christian Rocha <christian@rocha.is>
35 lines
1.2 KiB
AMPL
35 lines
1.2 KiB
AMPL
module github.com/charmbracelet/bubbles
|
|
|
|
go 1.18
|
|
|
|
require (
|
|
github.com/MakeNowJust/heredoc v1.0.0
|
|
github.com/atotto/clipboard v0.1.4
|
|
github.com/charmbracelet/bubbletea v1.1.2
|
|
github.com/charmbracelet/harmonica v0.2.0
|
|
github.com/charmbracelet/lipgloss v1.0.0
|
|
github.com/charmbracelet/x/ansi v0.6.1-0.20250107110353-48b574af22a5
|
|
github.com/charmbracelet/x/exp/golden v0.0.0-20241011142426-46044092ad91
|
|
github.com/dustin/go-humanize v1.0.1
|
|
github.com/lucasb-eyer/go-colorful v1.2.0
|
|
github.com/mattn/go-runewidth v0.0.16
|
|
github.com/muesli/termenv v0.15.2
|
|
github.com/rivo/uniseg v0.4.7
|
|
github.com/sahilm/fuzzy v0.1.1
|
|
)
|
|
|
|
require (
|
|
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
|
|
github.com/aymanbagabas/go-udiff v0.2.0 // indirect
|
|
github.com/charmbracelet/x/term v0.2.0 // indirect
|
|
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
|
|
github.com/kylelemons/godebug v1.1.0 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/mattn/go-localereader v0.0.1 // indirect
|
|
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
|
|
github.com/muesli/cancelreader v0.2.2 // indirect
|
|
golang.org/x/sync v0.8.0 // indirect
|
|
golang.org/x/sys v0.26.0 // indirect
|
|
golang.org/x/text v0.3.8 // indirect
|
|
)
|