diff options
Diffstat (limited to 'mbbsd/io.c')
-rw-r--r-- | mbbsd/io.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -422,6 +422,15 @@ igetch() return 0; } +/** + * 根據 mode 來 strip 字串 str,並把結果存到 buf + * @param buf + * @param str + * @param mode enum {STRIP_ALL = 0, ONLY_COLOR, NO_RELOAD}; + * STRIP_ALL: ?? + * ONLY_COLOR: ?? + * NO_RELOAD: 不 strip (?) + */ int strip_ansi(char *buf, char *str, int mode) { |