Import patch from Roman Imankulov:

"sdcv" does not set up `rl_readline_name' variable which can be extremely useful for the writing the .inputrc file. Additionally sdcv does not use readline in the "Your choice [-1 to abort]" dialog. This patch fix both these issues, readline_name is set up to "sdcv".
This trick allows me to add into the .inputrc
$if sdcv
"\e\e": "-1\n"
$endif
and type double-escape in the "Your choice" dialog instead of pretty annoying "-1".
This commit is contained in:
Evgeniy Dushistov
2013-07-06 13:40:11 +00:00
parent 0aa0a8aea7
commit d2327e2a0f
5 changed files with 12 additions and 24 deletions

View File

@@ -53,7 +53,6 @@ namespace glib {
}
extern bool stdio_getline(FILE *in, std::string &str);
extern char *locale_to_utf8(const char *locstr);
extern std::string utf8_to_locale_ign_err(const std::string& utf8_str);