mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
add set colors command to assist remote console
This commit is contained in:
parent
b2af85a445
commit
26e1d57e8c
3 changed files with 35 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
|||
PHPDBG_SET(prompt);
|
||||
#ifndef _WIN32
|
||||
PHPDBG_SET(color);
|
||||
PHPDBG_SET(colors);
|
||||
#endif
|
||||
PHPDBG_SET(oplog);
|
||||
PHPDBG_SET(break);
|
||||
|
@ -35,6 +36,7 @@ static const phpdbg_command_t phpdbg_set_commands[] = {
|
|||
PHPDBG_COMMAND_D_EX(prompt, "usage: set prompt <string>", 'p', set_prompt, NULL, 0),
|
||||
#ifndef _WIN32
|
||||
PHPDBG_COMMAND_D_EX(color, "usage: set color <element> <color>", 'c', set_color, NULL, 1),
|
||||
PHPDBG_COMMAND_D_EX(colors, "usage: set colors <on|off>", 'C', set_colors, NULL, 1),
|
||||
#endif
|
||||
PHPDBG_COMMAND_D_EX(oplog, "usage: set oplog <output>", 'O', set_oplog, NULL, 0),
|
||||
PHPDBG_COMMAND_D_EX(break, "usage: set break <on|off>", 'b', set_break, NULL, 0),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue