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
9a82474a
ROOT
/
widgets
/
text
/
text.go
Search
History
287 lines
|
UTF-8
|
7 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Text
content
:
[]*buffer.Cell
wrapped
:
[][]*buffer.Cell
scroll
:
*scrollTracker
lastWidth
:
int
contentChanged
:
bool
mu
:
sync.Mutex
opts
:
*options
New
(opts ...Option)
:
(*Text, error)
minLinesForMarkers
*Text
Reset
()
reset
()
Write
(text string, wOpts ...WriteOption)
:
error
drawScrollUp
(cvs *canvas.Canvas, cur image.Point, fromLine int)
:
(bool, error)
drawScrollDown
(cvs *canvas.Canvas, cur image.Point, fromLine int)
:
(bool, error)
draw
(cvs *canvas.Canvas)
:
error
Draw
(cvs *canvas.Canvas, meta *widgetapi.Meta)
:
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