MCPcopy Create free account
hub / github.com/coder/ghostty-web / hasResponse

Method hasResponse

lib/ghostty.ts:617–619  ·  view source on GitHub ↗

* Check if there are pending responses from the terminal. * Responses are generated by escape sequences like DSR (Device Status Report).

()

Source from the content-addressed store, hash-verified

615 * Responses are generated by escape sequences like DSR (Device Status Report).
616 */
617 hasResponse(): boolean {
618 return this.exports.ghostty_terminal_has_response(this.handle);
619 }
620
621 /**
622 * Read pending responses from the terminal.

Callers 1

readResponseMethod · 0.95

Calls 1

Tested by

no test coverage detected