jupyterlite / cockle

In-browser bash-like shell implemented in TypeScript.
BSD 3-Clause "New" or "Revised" License
3 stars 2 forks source link

Separate module for ANSI escape sequences #34

Closed ianthomas23 closed 3 months ago

ianthomas23 commented 3 months ago

Fixes #18.

This moves all ANSI escape sequences into their own module ansi.ts and gives them sensible names. Although the original plan was to use an external module for this, only a few codes are needed at this stage so this will suffice.