WorkerTerminalOptions
Extends
Section titled “Extends”Omit<GhosttyWebGpuTerminalFromSessionOptions,"elements"|"compositorAsset"|"rendererFactory"|"rendererMode"|"runtime">
Properties
Section titled “Properties”accessibility?
Section titled “accessibility?”
readonlyoptionalaccessibility?:false|GhosttyWebGpuTerminalAccessibilityOptions
Inherited from
Section titled “Inherited from”Omit.accessibility
appearance?
Section titled “appearance?”
readonlyoptionalappearance?:TerminalAppearanceOptions
Inherited from
Section titled “Inherited from”Omit.appearance
assets?
Section titled “assets?”
readonlyoptionalassets?:WorkerAssets
autoFit?
Section titled “autoFit?”
readonlyoptionalautoFit?:boolean
Inherited from
Section titled “Inherited from”Omit.autoFit
backend?
Section titled “backend?”
readonlyoptionalbackend?:WorkerBackend
readonlyoptionalbidi?:boolean
Reorder cells with Unicode 13.0 BiDi tables. Defaults to false.
Inherited from
Section titled “Inherited from”Omit.bidi
clipboardWrite?
Section titled “clipboardWrite?”
readonlyoptionalclipboardWrite?:DomClipboardWritePolicy
Inherited from
Section titled “Inherited from”Omit.clipboardWrite
copySelection?
Section titled “copySelection?”
readonlyoptionalcopySelection?:GhosttyWebGpuTerminalCopy
Inherited from
Section titled “Inherited from”Omit.copySelection
extensions?
Section titled “extensions?”
readonlyoptionalextensions?: readonlyExtensionInput[]
Inherited from
Section titled “Inherited from”Omit.extensions
fitEnvironment?
Section titled “fitEnvironment?”
readonlyoptionalfitEnvironment?:Partial<TerminalFitEnvironment>
Inherited from
Section titled “Inherited from”Omit.fitEnvironment
readonlyfonts: readonlyWorkerFontFace[]
inputHooks?
Section titled “inputHooks?”
readonlyoptionalinputHooks?:GhosttyWebGpuTerminalInputHooks
Inherited from
Section titled “Inherited from”Omit.inputHooks
keyboard?
Section titled “keyboard?”
readonlyoptionalkeyboard?:boolean
Inherited from
Section titled “Inherited from”Omit.keyboard
ligatures?
Section titled “ligatures?”
readonlyoptionalligatures?:TerminalLigatures
Opt-in programming ligatures, off by default. See docs/api.md for run splitting rules.
Inherited from
Section titled “Inherited from”Omit.ligatures
linkActivationModifier?
Section titled “linkActivationModifier?”
readonlyoptionallinkActivationModifier?: (event) =>boolean
Parameters
Section titled “Parameters”MouseEvent
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”Omit.linkActivationModifier
links?
Section titled “links?”
readonlyoptionallinks?:LinkResolverOptions<Event>
Inherited from
Section titled “Inherited from”Omit.links
outputTiming?
Section titled “outputTiming?”
readonlyoptionaloutputTiming?:GhosttyWebGpuTerminalOutputTimingOptions
Inherited from
Section titled “Inherited from”Omit.outputTiming
padding?
Section titled “padding?”
readonlyoptionalpadding?:TerminalElementPaddingInput
Inherited from
Section titled “Inherited from”Omit.padding
pointerHooks?
Section titled “pointerHooks?”
readonlyoptionalpointerHooks?:GhosttyWebGpuTerminalPointerHooks
Inherited from
Section titled “Inherited from”Omit.pointerHooks
readonlyoptionalpool?:TerminalWorkerPool
Shares a few workers between terminals; without it each terminal gets its own worker.
presentation?
Section titled “presentation?”
readonlyoptionalpresentation?:TerminalPresentation
immediate paints a write before the next display frame; main-thread terminals only.
Inherited from
Section titled “Inherited from”Omit.presentation
rendererMode?
Section titled “rendererMode?”
readonlyoptionalrendererMode?:"auto"|"canvas2d-fill-text"|"canvas2d-pixels"
renderWhenOffscreen?
Section titled “renderWhenOffscreen?”
readonlyoptionalrenderWhenOffscreen?:boolean
Keep painting outside the viewport or clipping ancestors. Defaults to false.
Inherited from
Section titled “Inherited from”Omit.renderWhenOffscreen
scrollbar?
Section titled “scrollbar?”
readonlyoptionalscrollbar?:false|GhosttyWebGpuTerminalScrollbarOptions
false removes the scrollbar and its reserved width; wheel and keyboard scrolling still work.
Inherited from
Section titled “Inherited from”Omit.scrollbar
textBlink?
Section titled “textBlink?”
readonlyoptionaltextBlink?:boolean
Opt-in SGR 5/6 animation; false by default, matching native Ghostty.
Inherited from
Section titled “Inherited from”Omit.textBlink
workerUrl?
Section titled “workerUrl?”
readonlyoptionalworkerUrl?:string|URL
writeQueue?
Section titled “writeQueue?”
readonlyoptionalwriteQueue?:TerminalWriteQueueOptions
Inherited from
Section titled “Inherited from”Omit.writeQueue