fsxNet Wiki

BBS Development & Resources

User Tools

Site Tools


resources:misc:ansi_escape_codes

ANSI Escape Codes

ANSI escape codes are used for adding colour to your BBS, and moving around the screen. You can use ANSI escape codes to add things like lightbars, windows, full screen editors and more.

ANSI escape codes are prefixed by the ESC (0x1B) character and a square opening brace, followed by a list of paramaters, and then a command, for example:

  ESC[1;32m

This code changes the forground colour to bright green. It has 2 paramaters, 1 meaning bright (or bold) and 32 meaning green. The command 'm' changes the colour.

List of Commands

ToDo

See Also

resources/misc/ansi_escape_codes.txt · Last modified: 2017/03/08 23:51 by apam