example colour output

This commit is contained in:
krakjoe 2013-11-24 20:16:46 +00:00
parent de61c0c28a
commit 5596b2e716
3 changed files with 24 additions and 1 deletions

View file

@ -259,6 +259,11 @@ PHPDBG_API void phpdbg_set_color_ex(int element, const char *name, size_t name_l
} else PHPDBG_G(colors)[element] = colors;
} /* }}} */
PHPDBG_API const phpdbg_color_t* phpdbg_get_colors(TSRMLS_D) /* {{{ */
{
return colors;
} /* }}} */
PHPDBG_API void phpdbg_set_prompt(const char *prompt TSRMLS_DC) /* {{{ */
{
/* free formatted prompt */