MCPcopy
hub / github.com/junegunn/fzf / LightRenderer

Struct LightRenderer

src/tui/light.go:111–143  ·  view source on GitHub ↗

Light renderer

Source from the content-addressed store, hash-verified

109
110// Light renderer
111type LightRenderer struct {
112 theme *ColorTheme
113 mouse bool
114 forceBlack bool
115 clearOnExit bool
116 prevDownTime time.Time
117 clicks [][2]int
118 ttyin *os.File
119 ttyout *os.File
120 cancel func()
121 buffer []byte
122 origState *term.State
123 width int
124 height int
125 yoffset int
126 tabstop int
127 escDelay int
128 fullscreen bool
129 upOneLine bool
130 queued strings.Builder
131 y int
132 x int
133 maxHeightFunc func(int) int
134 showCursor bool
135 mutex sync.Mutex
136
137 // Windows only
138 ttyinChannel chan byte
139 inHandle uintptr
140 outHandle uintptr
141 origStateInput uint32
142 origStateOutput uint32
143}
144
145type LightWindow struct {
146 renderer *LightRenderer

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected