crash.software
Projects
Pull Requests
Issues
Builds
fzf
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
fzf
Files
🤬
Sign In
master
ROOT
/
src
/
ansi.go
Search
History
434 lines
|
ISO-8859-1
|
9 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ansiOffset
offset
:
[2]int32
color
:
ansiState
ansiState
fg
:
tui.Color
bg
:
tui.Color
attr
:
tui.Attr
lbg
:
tui.Color
toAnsiString
(color tui.Color, offset int)
:
string
isPrint
(c uint8)
:
bool
matchOperatingSystemCommand
(s string)
:
int
matchControlSequence
(s string)
:
int
isCtrlSeqStart
(c uint8)
:
bool
nextAnsiEscapeSequence
(s string)
:
(int, int)
extractColor
(str string, state *ansiState, proc func(string, *ansiState) bool)
:
(string, *[]ansiOffset, *ansiState)
parseAnsiCode
(s string, delimiter byte)
:
(int, byte, string)
interpretCode
(ansiCode string, prevState *ansiState)
:
ansiState
*ansiState
colored
()
:
bool
equals
(t *ansiState)
:
bool
ToString
()
:
string
All occurrences
Please wait...
Page is in error, reload to recover