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

Method initTerminal

tty.go:25–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 2

RunMethod · 0.95
RestoreTerminalMethod · 0.95

Calls 1

initInputMethod · 0.95

Tested by

no test coverage detected