Fix to prev commit

This commit is contained in:
vysheng 2013-10-29 01:57:22 +04:00
parent 6d2c6ad5b5
commit e858db0964

View File

@ -236,7 +236,10 @@ char *command_generator (const char *text, int state) {
if (index == -1) { return 0; }
}
if (mode == -1) { return 0; }
if (mode == -1) {
if (c) { rl_line_buffer[rl_point] = c; }
return 0;
}
char *R = 0;
switch (mode & 7) {