Skip to content

0.1.0 - Stable `stringOutput`, Clear Screen Support

Choose a tag to compare

@saurabhdaware saurabhdaware released this 30 Oct 09:57
· 14 commits to main since this release

Dynamic Cursor Movement Outputs in tokenizedOutput

The cursor movement tokens will now have the number of characters the cursor is moving

Then,

\x1b[10A  ->  [CURSOR_UP]

Now,

\x1b[10A  ->  [CURSOR_UP_10]

Support for all Erase Line/Screen Characters

CLEAR_SCREEN: `${ESC}J`,
CLEAR_CURSOR_TO_END_SCREEN: `${ESC}0J`,
CLEAR_CURSOR_TO_START_SCREEN: `${ESC}1J`,
CLEAR_ENTIRE_SCREEN: `${ESC}2J`,
CLEAR_LINE: `${ESC}K`,
CLEAR_CURSOR_TO_END_LINE: `${ESC}0K`,
CLEAR_CURSOR_TO_START_LINE: `${ESC}1K`,
CLEAR_ENTIRE_LINE: `${ESC}2K`,

Add more graphic modes in tokens

Add support for Underline, Italic, Blinking text, dim text, magenta color escape codes

Stable stringOutput

Removed the custom implementation and added https://github.com/netzkolchose/node-ansiterminal to parse output. This ensures that it takes erase lines, clear screen, cursor movements into account.

Resolved #1