iniquity

A re-imagining of the iconic BBS software.

View on GitHub

Module: runtime/ansi

ANSI Escape Sequence Utilities

Summary

Utilities for generating ANSI escape sequences for terminal control

Table of contents

Classes

Variables

Variables

CGA

Const CGA: Object

CGA Color attribute constants for cell-based graphics

Type declaration

Name Type
BG_BLACK 0
BG_BLUE 16
BG_BROWN 96
BG_CYAN 48
BG_GREEN 32
BG_LIGHTGRAY 112
BG_MAGENTA 80
BG_RED 64
BLACK 0
BLINK 128
BLUE 1
BROWN 6
CYAN 3
DARKGRAY 8
GREEN 2
HIGH 8
LIGHTBLUE 9
LIGHTCYAN 11
LIGHTGRAY 7
LIGHTGREEN 10
LIGHTMAGENTA 13
LIGHTRED 12
MAGENTA 5
RED 4
WHITE 15
YELLOW 14

Defined in

core/src/ansi.ts:10