Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ waitForEnter
Function
waitForEnter
pkg/cmd/pr/shared/commentable.go:448–452 ·
view source on GitHub ↗
(r io.Reader)
Source
from the content-addressed store, hash-verified
446
}
447
448
func
waitForEnter(r io.Reader) error {
449
scanner := bufio.NewScanner(r)
450
scanner.Scan()
451
return
scanner.Err()
452
}
Callers
1
CommentableInteractiveEditSurvey
Function · 0.70
Calls
1
Err
Method · 0.80
Tested by
no test coverage detected