Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
285
func
(p *Prompt) setUp() {
286
debug.AssertNoError(p.in.Setup())
287
p.renderer.Setup()
288
p.renderer.UpdateWinSize(p.in.GetWinSize())
289
}
290
291
func
(p *Prompt) tearDown() {
292
if
!p.skipTearDown {
Callers
2
Run
Method · 0.95
Input
Method · 0.95
Calls
4
AssertNoError
Function · 0.92
UpdateWinSize
Method · 0.80
Setup
Method · 0.65
GetWinSize
Method · 0.65
Tested by
no test coverage detected