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

Method cursorX

lib/buffer.ts:126–130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

124 }
125
126 get cursorX(): number {
127 const wasmTerm = this.getWasmTerm();
128 if (!wasmTerm) return 0;
129 return wasmTerm.getCursor().x;
130 }
131
132 get cursorY(): number {
133 const wasmTerm = this.getWasmTerm();

Callers

nothing calls this directly

Calls 2

getWasmTermMethod · 0.95
getCursorMethod · 0.65

Tested by

no test coverage detected