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

Method getWidth

lib/types.ts:678–678  ·  view source on GitHub ↗

Get the width of the character (1 or 2 for wide chars)

()

Source from the content-addressed store, hash-verified

676
677 /** Get the width of the character (1 or 2 for wide chars) */
678 getWidth(): number;
679
680 /** Check if cell has specific flags */
681 isBold(): boolean;

Callers 1

buffer.test.tsFile · 0.65

Implementers 1

BufferCelllib/buffer.ts

Calls

no outgoing calls

Tested by

no test coverage detected