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
/
internal
/
draw
/
text.go
Search
History
196 lines
|
UTF-8
|
5 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
OverrunMode
String
()
:
string
overrunModeNames
OverrunModeStrict
:
OverrunMode
OverrunModeTrim
OverrunModeThreeDot
TextOption
set
(*textOptions)
textOptions
cellOpts
:
[]cell.Option
maxX
:
int
overrunMode
:
OverrunMode
textOption
set
(tOpts *textOptions)
TextCellOpts
(opts ...cell.Option)
:
TextOption
TextMaxX
(x int)
:
TextOption
TextOverrunMode
(om OverrunMode)
:
TextOption
TrimText
(text string, maxCells int, om OverrunMode)
:
(string, error)
Text
(c *canvas.Canvas, text string, start image.Point, opts ...TextOption)
:
error
ResizeNeeded
(cvs *canvas.Canvas)
:
error
All occurrences
Please wait...
Page is in error, reload to recover