++set_command;
}
}
+#ifndef _WIN32
phpdbg_notice("Colors");
{
const phpdbg_color_t *color = phpdbg_get_colors(TSRMLS_C);
}
}
phpdbg_writeln("The <element> for set color can be \"prompt\", \"notice\", or \"error\"");
+#endif
phpdbg_help_footer();
return SUCCESS;
} /* }}} */
return SUCCESS;
} /* }}} */
+#ifndef _WIN32
PHPDBG_SET(color) /* {{{ */
{
if ((param->type == STR_PARAM) && (input->argc == 3)) {
}
return SUCCESS;
} /* }}} */
+#endif
PHPDBG_SET(oplog) /* {{{ */
{
#define PHPDBG_SET(name) PHPDBG_COMMAND(set_##name)
PHPDBG_SET(prompt);
+#ifndef _WIN32
PHPDBG_SET(color);
+#endif
PHPDBG_SET(oplog);
PHPDBG_SET(break);
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),
+#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),
PHPDBG_END_COMMAND