Functions

f
lastEntered(
newestFirst: readonly string[],
count: number,
palette: Theme
): string

The last count lines entered, numbered, the way history prints them.

Variables

v
command: ReplCommand

.history — the last lines entered, numbered, the way a shell's does.

Usage

import * as mod from "lib/commands/repl/commands/history.ts";