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

Interface Renderer

src/tui/tui.go:847–874  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

845)
846
847type Renderer interface {
848 DefaultTheme() *ColorTheme
849 Init() error
850 Resize(maxHeightFunc func(int) int)
851 Pause(clear bool)
852 Resume(clear bool, sigcont bool)
853 Clear()
854 RefreshWindows(windows []Window)
855 Refresh()
856 Close()
857 PassThrough(string)
858 NeedScrollbarRedraw() bool
859 ShouldEmitResizeEvent() bool
860 Bell()
861 HideCursor()
862 ShowCursor()
863
864 GetChar(cancellable bool) Event
865 CancelGetChar()
866
867 Top() int
868 MaxX() int
869 MaxY() int
870
871 Size() TermSize
872
873 NewWindow(top int, left int, width int, height int, windowType WindowType, borderStyle BorderStyle, erase bool) Window
874}
875
876type Window interface {
877 Top() int

Callers 46

NewTerminalFunction · 0.95
NewTerminalFunction · 0.95
LoopMethod · 0.65
executeCommandMethod · 0.65
LoopMethod · 0.65
executeCommandMethod · 0.65
LoopMethod · 0.65
ResumeMethod · 0.65
LoopMethod · 0.65
TestReadFromCommandFunction · 0.65
RunFunction · 0.65
fullRedrawMethod · 0.65

Implementers 2

FullscreenRenderersrc/tui/tui.go
LightRenderersrc/tui/light.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…