Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/cli/cli
/ waitForEnter
Function
waitForEnter
pkg/cmd/pr/shared/commentable.go:349–353 ·
view source on GitHub ↗
(r io.Reader)
Source
from the content-addressed store, hash-verified
347
}
348
349
func
waitForEnter(r io.Reader) error {
350
scanner := bufio.NewScanner(r)
351
scanner.Scan()
352
return
scanner.Err()
353
}
Callers
1
CommentableInteractiveEditSurvey
Function · 0.70
Calls
1
Err
Method · 0.80
Tested by
no test coverage detected