mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add colormake support for cc and c++.
This commit is contained in:
parent
ba5af691f9
commit
4839a97d91
1 changed files with 2 additions and 1 deletions
|
@ -66,7 +66,8 @@ int main(int /*argc*/, char* argv[])
|
|||
{
|
||||
if ( strstr(line, "make") )
|
||||
mode = MODE_MAKE;
|
||||
if ( strstr(line, "gcc") || strstr(line, "g++") )
|
||||
if ( strstr(line, "cc") || strstr(line, "c++") ||
|
||||
strstr(line, "gcc") || strstr(line, "g++") )
|
||||
mode = MODE_GCC;
|
||||
const char* color = "\e[m";
|
||||
int next_mode = MODE_NONE;
|
||||
|
|
Loading…
Add table
Reference in a new issue