MCPcopy
hub / github.com/charmbracelet/bubbletea / initTerminal

Method initTerminal

tty.go:24–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 2

RunMethod · 0.95
RestoreTerminalMethod · 0.95

Calls 1

initInputMethod · 0.95

Tested by

no test coverage detected