tuil
ReferencePackages@mwillbanks/tuil-inkAPI

useTerminalInput

export exported by @mwillbanks/tuil-ink.

View rawEdit

export

Public export exported by @mwillbanks/tuil-ink.

export function useTerminalInput(
  handler: TerminalInputHandler,
  options: {
    readonly enabled?: boolean;
    readonly priority?: number;
    readonly layerId?: string;
  } = {},
): void;

Members

This declaration has no public members.

Parameters

MemberTypeRequiredDescriptionRelated types
handlerTerminalInputHandlerYesSupplies the handler value as TerminalInputHandler.TerminalInputHandler
options{ readonly enabled?: boolean; readonly priority?: number; readonly layerId?: string; }NoSupplies the options value as { readonly enabled?: boolean; readonly priority?: number; readonly layerId?: string; }.

Returns

void — Returns a value that satisfies void.

Related types: —

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-ink

On this page