DocsShell

Shell namespace

import { Shell } from '@withfig/api-bindings'

insert

Declaration

export async function insert(text: string): Promise<void>;

processDidChange

Declaration

export const processDidChange = {
  subscribe(
    handler: (notification: ProcessChangedNotification) => boolean | undefined
  ): Promise<Subscription>;
};

promptDidReturn

Declaration

export const promptDidReturn = {
  subscribe(
    handler: (
      notification: ShellPromptReturnedNotification
    ) => boolean | undefined
  ): Promise<Subscription>;
};

historyUpdated

Declaration

export const historyUpdated = {
  subscribe(
    handler: (notification: HistoryUpdatedNotification) => boolean | undefined
  ): Promise<Subscription>;
};