Подсветка сообщений, если установлена переменная окружения COLORTERM
This commit is contained in:
parent
e42530855c
commit
2246f06397
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
include_guard(GLOBAL)
|
include_guard(GLOBAL)
|
||||||
|
|
||||||
if(DEFINED ENV{TERM} AND UNIX)
|
if(DEFINED ENV{COLORTERM} AND UNIX)
|
||||||
string(ASCII 27 Esc)
|
string(ASCII 27 Esc)
|
||||||
set(MyxColorReset "${Esc}[m")
|
set(MyxColorReset "${Esc}[m")
|
||||||
set(MyxColorBold "${Esc}[1m")
|
set(MyxColorBold "${Esc}[1m")
|
||||||
|
Loading…
Reference in New Issue
Block a user