MCPcopy Create free account
hub / github.com/charmbracelet/bubbletea / initTerminal

Method initTerminal

tty.go:27–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27func (p *Program) initTerminal() error {
28 if p.disableRenderer {
29 return nil
30 }
31 return p.initInput()
32}
33
34// restoreTerminalState restores the terminal to the state prior to running the
35// Bubble Tea program.

Callers 2

RunMethod · 0.95
RestoreTerminalMethod · 0.95

Calls 1

initInputMethod · 0.95

Tested by

no test coverage detected