com php-src: blink/underline: phpdbg_help.c phpdbg_util s.c
| From: | Bob Weinand | Date: | Sun, 24 Nov 2013 20:59:22 +0000 |
| Subject: | com php-src: blink/underline: phpdbg_help.c phpdbg_util s.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-74620@lists.php.net to get a copy of this message | ||
Commit: e0c4922635adf1385c7e4263c05df9ce58dd6a4a
Author: krakjoe <joe.watkins@live.co.uk> Sun, 24 Nov 2013 20:59:22 +0000
Parents: 4d735404cfbef2aa2374a6c8079c5ea94fac324a
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e0c4922635adf1385c7e4263c05df9ce58dd6a4a
Log:
blink/underline
Changed paths:
M phpdbg_help.c
M phpdbg_utils.c
Diff:
diff --git a/phpdbg_help.c b/phpdbg_help.c
index fa5741b..f233d90 100644
--- a/phpdbg_help.c
+++ b/phpdbg_help.c
@@ -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;
diff --git a/phpdbg_utils.c b/phpdbg_utils.c
index d3d8777..59c920d 100644
--- a/phpdbg_utils.c
+++ b/phpdbg_utils.c
@@ -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
}; /* }}} */