]> granicus.if.org Git - php/commitdiff
blink/underline
authorkrakjoe <joe.watkins@live.co.uk>
Sun, 24 Nov 2013 20:59:22 +0000 (20:59 +0000)
committerkrakjoe <joe.watkins@live.co.uk>
Sun, 24 Nov 2013 20:59:22 +0000 (20:59 +0000)
phpdbg_help.c
phpdbg_utils.c

index fa5741b911328cddee534e79fc27021ea4aa7a45..f233d9005e02fe710947f445c64464666364188c 100644 (file)
@@ -455,13 +455,13 @@ PHPDBG_HELP(set) /* {{{ */
                const phpdbg_color_t *color = phpdbg_get_colors(TSRMLS_C);
                
                if (PHPDBG_G(flags) & PHPDBG_IS_COLOURED) {
-                       phpdbg_writeln("\t%-15s\t\tExample", "Name");
+                       phpdbg_writeln("\t%-20s\t\tExample", "Name");
                } else phpdbg_writeln("\tName");
                
                while (color && color->name) {
                        if (PHPDBG_G(flags) & PHPDBG_IS_COLOURED) {
                                phpdbg_writeln(
-                                       "\t%-15s\t\t\033[%smphpdbg rocks :)\033[0m", color->name, color->code);
+                                       "\t%-20s\t\t\033[%smphpdbg rocks :)\033[0m", color->name, color->code);
                        } else phpdbg_writeln("\t%s", color->name);
                        
                        ++color;
index d3d8777913e362f6bf748ecf3e6233faccc2eadc..59c920d63a821e9b496056647bdcaca0c0cba11f 100644 (file)
@@ -36,23 +36,38 @@ ZEND_EXTERN_MODULE_GLOBALS(phpdbg);
 const static phpdbg_color_t colors[] = {
        PHPDBG_COLOR_D("none",                  "0;0"),
 
-       PHPDBG_COLOR_D("white",                 "0;64"),
-       PHPDBG_COLOR_D("white-bold",    "1;64"),
-       PHPDBG_COLOR_D("red",                   "0;31"),
-       PHPDBG_COLOR_D("red-bold",              "1;31"),
-       PHPDBG_COLOR_D("green",                 "0;32"),
-       PHPDBG_COLOR_D("green-bold",    "1;32"),
-       PHPDBG_COLOR_D("yellow",        "0;33"),
-       PHPDBG_COLOR_D("yellow-bold",   "1;33"),
-       PHPDBG_COLOR_D("blue",                  "0;34"),
-       PHPDBG_COLOR_D("blue-bold",     "1;34"),
-       PHPDBG_COLOR_D("purple",                "0;35"),
-       PHPDBG_COLOR_D("purple-bold",   "1;35"),
-       PHPDBG_COLOR_D("cyan",                  "0;36"),
-       PHPDBG_COLOR_D("cyan-bold",     "1;36"),
-       PHPDBG_COLOR_D("black",                 "0;30"),
-       PHPDBG_COLOR_D("black-bold",    "1;30"),
-       
+       PHPDBG_COLOR_D("white",                         "0;64"),
+       PHPDBG_COLOR_D("white-bold",            "1;64"),
+       PHPDBG_COLOR_D("white-underline",       "4;64"),
+       PHPDBG_COLOR_D("white-blink",           "5;64"),
+       PHPDBG_COLOR_D("red",                           "0;31"),
+       PHPDBG_COLOR_D("red-bold",                      "1;31"),
+       PHPDBG_COLOR_D("red-underline",         "4;31"),
+       PHPDBG_COLOR_D("red-blink",                     "5;31"),
+       PHPDBG_COLOR_D("green",                         "0;32"),
+       PHPDBG_COLOR_D("green-bold",            "1;32"),
+       PHPDBG_COLOR_D("green-underline",       "4;32"),
+       PHPDBG_COLOR_D("green-blink",           "5;32"),
+       PHPDBG_COLOR_D("yellow",                "0;33"),
+       PHPDBG_COLOR_D("yellow-bold",           "1;33"),
+       PHPDBG_COLOR_D("yellow-underline",  "4;33"),
+       PHPDBG_COLOR_D("yellow-blink",          "5;33"),
+       PHPDBG_COLOR_D("blue",                          "0;34"),
+       PHPDBG_COLOR_D("blue-bold",             "1;34"),
+       PHPDBG_COLOR_D("blue-underline",        "4;34"),
+       PHPDBG_COLOR_D("blue-blink",            "5;34"),
+       PHPDBG_COLOR_D("purple",                        "0;35"),
+       PHPDBG_COLOR_D("purple-bold",           "1;35"),
+       PHPDBG_COLOR_D("purple-underline",      "4;35"),
+       PHPDBG_COLOR_D("purple-blink",          "5;35"),
+       PHPDBG_COLOR_D("cyan",                          "0;36"),
+       PHPDBG_COLOR_D("cyan-bold",             "1;36"),
+       PHPDBG_COLOR_D("cyan-underline",        "4;36"),
+       PHPDBG_COLOR_D("cyan-blink",            "5;36"),
+       PHPDBG_COLOR_D("black",                         "0;30"),
+       PHPDBG_COLOR_D("black-bold",            "1;30"),
+       PHPDBG_COLOR_D("black-underline",   "4;30"),
+       PHPDBG_COLOR_D("black-blink",           "5;30"),
        PHPDBG_COLOR_END
 }; /* }}} */