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

Method getDimensions

lib/renderer.ts:22–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 getLine(y: number): GhosttyCell[] | null;
21 getCursor(): { x: number; y: number; visible: boolean };
22 getDimensions(): { cols: number; rows: number };
23 isRowDirty(y: number): boolean;
24 /** Returns true if a full redraw is needed (e.g., screen change) */
25 needsFullRedraw?(): boolean;

Callers 6

renderMethod · 0.65
selectAllMethod · 0.65
selectMethod · 0.65
selectLinesMethod · 0.65
startAutoScrollMethod · 0.65
normalizeSelectionMethod · 0.65

Implementers 1

GhosttyTerminallib/ghostty.ts

Calls

no outgoing calls

Tested by

no test coverage detected