lineedit: invalid unicode characters are replaced with CONFIG_SUBST_WCHAR

function                                             old     new   delta
read_key_ungets                                        -      50     +50
lineedit_read_key                                    223     252     +29

Signed-off-by: Tomas Heinrich <heinrich.tomas@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Tomas Heinrich
2010-03-09 14:09:24 +01:00
committed by Denys Vlasenko
parent f15620c377
commit d2b04050c0
4 changed files with 73 additions and 5 deletions

View File

@ -1277,6 +1277,7 @@ enum {
* on first call.
*/
int64_t read_key(int fd, char *buffer) FAST_FUNC;
void read_key_ungets(char *buffer, const char *str, unsigned len) FAST_FUNC;
#if ENABLE_FEATURE_EDITING