VOGONS


First post, by XulChris

User metadata
Rank Member
Rank
Member

The backspace key does not currently work properly with the tab completion code. Here is a fix:

--- shell_misc.cpp.orig 2005-01-10 15:26:43.588454561 -0800
+++ shell_misc.cpp 2005-01-10 15:27:06.578385074 -0800
@@ -171,7 +171,7 @@
// moves the cursor left
while (str_remain--) outc(8);
}
- if (strlen(line) == 0 && l_completion.size()) l_completion.clear();
+ if (l_completion.size()) l_completion.clear();
break;
case 0x0a: /* New Line not handled */
/* Don't care */

Please review and apply.