This mapping can usually be changed according to user-defined color schemes. However, modern computer screens are capable of displaying 24-bit RGB color, so modern terminals have to implement a mapping of the 8 original colors to RGB values. Old terminals could only display a maximum of 8 colors. If the input contains specific “control characters,” then the terminal may alter certain display properties of the text, such as the color or font. Terminals traditionally take an input of bytes and display them as white text on a black background. ANSI Escape Codes for Terminal Graphics.
0 Comments
Leave a Reply. |