MCPcopy
hub / github.com/jcubic/jquery.terminal / History

Interface History

js/jquery.terminal.d.ts:402–420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400
401
402 interface History<T = string> {
403 new(name?: string, size?: number, memory?: boolean): History<T>;
404 append(item: T): void;
405 set(items: T[]): void;
406 data(): T[];
407 reset(): void;
408 last(): any;
409 end(): boolean;
410 position(): number;
411 current(): T;
412 next(): T | void;
413 previous(): T | void;
414 clear(): void;
415 enabled(): boolean;
416 enable(): void;
417 purge(): void;
418 disable(): void;
419 toggle(value?: boolean): void;
420 }
421
422 interface Stack<T> {
423 new(init?: T[]): Stack<T>;

Callers 51

make_historyFunction · 0.95
test.tsFile · 0.65
jquery.terminal.jsFile · 0.65
resetFunction · 0.65
terminal.spec.jsFile · 0.65
jquery.terminal.jsFile · 0.80
terminal.spec.jsFile · 0.80
last_divsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…