INSERT_MODE
import { INSERT_MODE } from "jsr:@ende/cli/unstable-ansi";variable ยท experimental
const INSERT_MODE: "\u001b[4h"Causes existing characters to the right of the cursor position to shift
right as new characters are written. Opposite of
REPLACE_MODE.
Returns
The ANSI escape code for entering insert mode.
Example: Usage
import { delay } from "@ende/async/delay";
import * as Ansi from "@ende/cli/unstable-ansi";
console.log("Hello World!");
await delay(1000);
console.log(
Ansi.INSERT_MODE +
Ansi.moveCursorUp() +
Ansi.setCursorColumn(7) +
"and Goodbye " +
Ansi.REPLACE_MODE,
);