Expand description
Module containing various utility functions.
Statics
- ANSI background colour escapes.
- Linux-theme ANSI colours, in the same order as
ANSI_COLOUR_ESCAPES
. - ANSI colours for a white-background terminal, in the same order as
ANSI_COLOUR_ESCAPES
. - ANSI background colour escapes.
- Reset ANSI attributes
- Magic number used for determining whether an image is a BMP.
- Magic number used for determining whether an image is a GIF.
- Magic number used for determining whether an image is an ICO.
- Magic number used for determining whether an image is a JPEG.
- Magic number used for determining whether an image is a PNG.
Functions
- Get the background colour set for the specified foregournd colour set
- Get the closest colour to the provided one out of the specified list of colours and retirn its index.
- Create a string consisting of
n
repetitions ofwhat
.