GhosttyWebGpuTerminalOptions
Properties
Section titled “Properties”accessibility?
Section titled “accessibility?”
readonlyoptionalaccessibility?:false|GhosttyWebGpuTerminalAccessibilityOptions
appearance?
Section titled “appearance?”
readonlyoptionalappearance?:TerminalAppearanceOptions
readonlyoptionalbidi?:boolean
Reorder cells with Unicode 13.0 BiDi tables. Defaults to false.
clipboardWrite?
Section titled “clipboardWrite?”
readonlyoptionalclipboardWrite?:DomClipboardWritePolicy
compositorAsset?
Section titled “compositorAsset?”
readonlyoptionalcompositorAsset?:string|URL
URL for the Canvas 2D pixel compositor. Main-thread terminals only.
copySelection?
Section titled “copySelection?”
readonlyoptionalcopySelection?:GhosttyWebGpuTerminalCopy
extensions?
Section titled “extensions?”
readonlyoptionalextensions?: readonlyExtensionInput[]
fitEnvironment?
Section titled “fitEnvironment?”
readonlyoptionalfitEnvironment?:Partial<TerminalFitEnvironment>
keyboard?
Section titled “keyboard?”
readonlyoptionalkeyboard?:boolean
ligatures?
Section titled “ligatures?”
readonlyoptionalligatures?:TerminalLigatures
Opt-in programming ligatures, off by default. See docs/api.md for run splitting rules.
linkActivationModifier?
Section titled “linkActivationModifier?”
readonlyoptionallinkActivationModifier?: (event) =>boolean
Parameters
Section titled “Parameters”MouseEvent
Returns
Section titled “Returns”boolean
links?
Section titled “links?”
readonlyoptionallinks?:LinkResolverOptions<Event>
outputTiming?
Section titled “outputTiming?”
readonlyoptionaloutputTiming?:GhosttyWebGpuTerminalOutputTimingOptions
padding?
Section titled “padding?”
readonlyoptionalpadding?:TerminalElementPaddingInput
presentation?
Section titled “presentation?”
readonlyoptionalpresentation?:TerminalPresentation
immediate paints a write before the next display frame; main-thread terminals only.
rendererFactory?
Section titled “rendererFactory?”
readonlyoptionalrendererFactory?:GhosttyWebGpuRendererFactory
rendererMode?
Section titled “rendererMode?”
readonlyoptionalrendererMode?:TerminalRendererMode
renderWhenOffscreen?
Section titled “renderWhenOffscreen?”
readonlyoptionalrenderWhenOffscreen?:boolean
Keep painting outside the viewport or clipping ancestors. Defaults to false.
runtime?
Section titled “runtime?”
readonlyoptionalruntime?:TerminalSessionRuntime
scrollbar?
Section titled “scrollbar?”
readonlyoptionalscrollbar?:false|GhosttyWebGpuTerminalScrollbarOptions
false removes the scrollbar and its reserved width; wheel and keyboard scrolling still work.
textBlink?
Section titled “textBlink?”
readonlyoptionaltextBlink?:boolean
Opt-in SGR 5/6 animation; false by default, matching native Ghostty.
writeQueue?
Section titled “writeQueue?”
readonlyoptionalwriteQueue?:TerminalWriteQueueOptions