суббота, 8 декабря 2012 г.

То что надо

\033[22;30m - black \033[22;31m - red \033[22;32m - green \033[22;33m - brown \033[22;34m - blue \033[22;35m - magenta \033[22;36m - cyan \033[22;37m - gray \033[01;30m - dark gray \033[01;31m - light red \033[01;32m - light green \033[01;33m - yellow \033[01;34m - light blue \033[01;35m - light magenta \033[01;36m - light cyan \033[01;37m - white \033[0m - default color \033[1m - makes text bold \033[1;#m - makes colored text bold (# is a number) \033[2;#m - colors text according to # but a bit darker \033[4;#m - colors text in # and underlines \033[7;#m - colors the background according to # \033[8m - hide characters (for password enter, etc) \033[9;#m - colors text and strikes it \033[2K - erases everything written on line before this. \033[?25l - hide cursor \033[?25h - show cursor

Комментариев нет:

Отправить комментарий