Menu

[766a1d]: / scripts / ANSI-escape.sh  Maximize  Restore  History

Download this file

11 lines (8 with data), 193 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#!/bin/bash
# ANSI escape sequences
CSI=$'\x1b['; # CSI = esc [
VTbold="${CSI}1m";
VTnorm="${CSI}0m";
VTred="${VTbold}${CSI}31m";
VTyellow="${VTbold}${CSI}33m";
VTgreen="${VTbold}${CSI}32m";
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.