Implement ignore and UTF-8

This commit is contained in:
Mingye Wang
2021-04-20 09:52:40 +08:00
parent 69c7e86967
commit 8fd71febc6
5 changed files with 98 additions and 19 deletions

View File

@@ -125,6 +125,9 @@ extern void rl_callback_handler_install (const char *prompt, rl_vcpfunc_t *lhand
extern void rl_callback_read_char (void);
extern void rl_callback_handler_remove (void);
#define RL_PROMPT_START_IGNORE '\1'
#define RL_PROMPT_END_IGNORE '\2'
#ifdef __cplusplus
}
#endif