first commit

This commit is contained in:
douboer@gmail.com
2026-03-03 13:23:14 +08:00
commit 3b7c1d558a
161 changed files with 28120 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
import type { IInputInterface } from "./input/interface";
import type { IOutputInterface } from "./output/interface";
import type { IHistory } from "./history/interface";
/**
* Terminal State
*/
export type ITerminalState = {
/**
* Input component for the terminal
*/
input: IInputInterface;
/**
* Output component for the terminal
*/
output: IOutputInterface;
/**
* History: store of inputs
*/
history: IHistory;
/**
* Autocomplete function invoked on TAB key
*/
completer?: (data: string) => string;
};