Commit e858db09 authored by vysheng's avatar vysheng

Fix to prev commit

parent 6d2c6ad5
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment