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

Method cursorY

lib/buffer.ts:132–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130 }
131
132 get cursorY(): number {
133 const wasmTerm = this.getWasmTerm();
134 if (!wasmTerm) return 0;
135 return wasmTerm.getCursor().y;
136 }
137
138 get viewportY(): number {
139 // Get viewport offset from Terminal

Callers

nothing calls this directly

Calls 2

getWasmTermMethod · 0.95
getCursorMethod · 0.65

Tested by

no test coverage detected