This commit introduces a new field, ContentDrawable, to the View struct, allowing to provide a uv.Drawable as the content of the view. This enables more efficient rendering for complex views by allowing direct drawing to the underlying buffer directly without converting to a string first.
51 lines
2 KiB
Modula-2
51 lines
2 KiB
Modula-2
module examples
|
|
|
|
go 1.25.8
|
|
|
|
replace charm.land/bubbletea/v2 => ../
|
|
|
|
require (
|
|
charm.land/bubbles/v2 v2.1.0
|
|
charm.land/bubbletea/v2 v2.0.2
|
|
charm.land/glamour/v2 v2.0.0
|
|
charm.land/lipgloss/v2 v2.0.3
|
|
github.com/charmbracelet/colorprofile v0.4.3
|
|
github.com/charmbracelet/harmonica v0.2.0
|
|
github.com/charmbracelet/ultraviolet v0.0.0-20260422141423-a0f1f21775f7
|
|
github.com/charmbracelet/x/ansi v0.11.7
|
|
github.com/charmbracelet/x/exp/charmtone v0.0.0-20250602192518-9e722df69bbb
|
|
github.com/charmbracelet/x/mosaic v0.0.0-20260419004333-9332b2225b80
|
|
github.com/charmbracelet/x/term v0.2.2
|
|
github.com/fogleman/ease v0.0.0-20170301025033-8da417bf1776
|
|
github.com/lucasb-eyer/go-colorful v1.4.0
|
|
github.com/mattn/go-sixel v0.0.9
|
|
github.com/segmentio/ksuid v1.0.4
|
|
)
|
|
|
|
require (
|
|
github.com/alecthomas/chroma/v2 v2.14.0 // indirect
|
|
github.com/atotto/clipboard v0.1.4 // indirect
|
|
github.com/aymerick/douceur v0.2.0 // indirect
|
|
github.com/charmbracelet/x/exp/slice v0.0.0-20250327172914-2fdc97757edf // indirect
|
|
github.com/charmbracelet/x/termios v0.1.1 // indirect
|
|
github.com/charmbracelet/x/windows v0.2.2 // indirect
|
|
github.com/clipperhouse/displaywidth v0.11.0 // indirect
|
|
github.com/clipperhouse/uax29/v2 v2.7.0 // indirect
|
|
github.com/dlclark/regexp2 v1.11.0 // indirect
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/gorilla/css v1.0.1 // indirect
|
|
github.com/mattn/go-runewidth v0.0.23 // indirect
|
|
github.com/microcosm-cc/bluemonday v1.0.27 // indirect
|
|
github.com/muesli/cancelreader v0.2.2 // indirect
|
|
github.com/rivo/uniseg v0.4.7 // indirect
|
|
github.com/sahilm/fuzzy v0.1.1 // indirect
|
|
github.com/soniakeys/quant v1.0.0 // indirect
|
|
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
|
|
github.com/yuin/goldmark v1.7.8 // indirect
|
|
github.com/yuin/goldmark-emoji v1.0.5 // indirect
|
|
golang.org/x/image v0.39.0 // indirect
|
|
golang.org/x/net v0.39.0 // indirect
|
|
golang.org/x/sync v0.20.0 // indirect
|
|
golang.org/x/sys v0.43.0 // indirect
|
|
golang.org/x/text v0.36.0 // indirect
|
|
)
|