Help for this page

Select Code to Download


  1. or download this
    // common defines
    
    ...
    #define ANSI_BACK_PURPLE "\e[45m"
    #define ANSI_BACK_CYAN   "\e[46m"
    #define ANSI_BACK_WHITE  "\e[47m"
    
  2. or download this
    $line =~ s/\e\[\d+m//g;