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