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:451–455 ·
view source on GitHub ↗
(r io.Reader)
Source
from the content-addressed store, hash-verified
449
}
450
451
func
waitForEnter(r io.Reader) error {
452
scanner := bufio.NewScanner(r)
453
scanner.Scan()
454
return
scanner.Err()
455
}
Callers
1
CommentableInteractiveEditSurvey
Function · 0.70
Calls
1
Err
Method · 0.80
Tested by
no test coverage detected