MCPcopy
hub / github.com/cli/cli / SendKey

Method SendKey

pkg/surveyext/editor_test.go:220–223  ·  view source on GitHub ↗
(c rune)

Source from the content-addressed store, hash-verified

218}
219
220func (t *testTerminal) SendKey(c rune) error {
221 _, err := t.pty.WriteString(string(c))
222 return err
223}
224
225func (t *testTerminal) WaitForOutput(s string) {
226 for {

Calls

no outgoing calls

Tested by

no test coverage detected