crash.software
Projects
Pull Requests
Issues
Builds
termdash
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
termdash
Files
🤬
Sign In
8e77d26f
ROOT
/
widgets
/
segmentdisplay
/
segmentdisplay.go
Search
History
313 lines
|
ISO-8859-1
|
8 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
SegmentDisplay
buff
:
strings.Builder
givenWOpts
:
[]*writeOptions
wOptsTracker
:
*attrrange.Tracker
lastCanFit
:
int
dotChars
:
map[rune]bool
mu
:
sync.Mutex
opts
:
*options
New
(opts ...Option)
:
(*SegmentDisplay, error)
TextChunk
text
:
string
wOpts
:
*writeOptions
NewChunk
(text string, wOpts ...WriteOption)
:
*TextChunk
*SegmentDisplay
Write
(chunks []*TextChunk, opts ...Option)
:
error
Capacity
()
:
int
Reset
()
reset
()
preprocess
(cvsAr image.Rectangle)
:
(*segArea, error)
Draw
(cvs *canvas.Canvas, meta *widgetapi.Meta)
:
error
drawChar
(dCvs *canvas.Canvas, c rune, wOpts *writeOptions)
:
error
Keyboard
(k *terminalapi.Keyboard)
:
error
Mouse
(m *terminalapi.Mouse)
:
error
Options
()
:
widgetapi.Options
All occurrences
Please wait...
Page is in error, reload to recover