MCPcopy
hub / github.com/vercel/hyper / write

Method write

app/session.ts:209–215  ·  view source on GitHub ↗
(data: string)

Source from the content-addressed store, hash-verified

207 }
208
209 write(data: string) {
210 if (this.pty) {
211 this.pty.write(data);
212 } else {
213 console.warn('Warning: Attempted to write to a session with no pty');
214 }
215 }
216
217 resize({cols, rows}: {cols: number; rows: number}) {
218 if (this.pty) {

Callers 3

writeMethod · 0.45
initMethod · 0.45
newWindowFunction · 0.45

Calls 1

warnMethod · 0.45

Tested by

no test coverage detected