MCPcopy
hub / github.com/c-bata/go-prompt / setUp

Method setUp

prompt.go:285–289  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

283}
284
285func (p *Prompt) setUp() {
286 debug.AssertNoError(p.in.Setup())
287 p.renderer.Setup()
288 p.renderer.UpdateWinSize(p.in.GetWinSize())
289}
290
291func (p *Prompt) tearDown() {
292 if !p.skipTearDown {

Callers 2

RunMethod · 0.95
InputMethod · 0.95

Calls 4

AssertNoErrorFunction · 0.92
UpdateWinSizeMethod · 0.80
SetupMethod · 0.65
GetWinSizeMethod · 0.65

Tested by

no test coverage detected