-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Here is a patch that fixes backspace ('\b') acting as delete
(ctrl-d) when at beginning of line.
2005-07-03 Vincent Pelletier [EMAIL PROTECTED]
* normal/comandline.c
(grub_cmdline_get): Don't fallback on ctrl-d when backspace is
pressed at beginning of line.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCx7JCFEQoKRQyjtURAsUJAJ9JC9RdJsh5cxiJR1nFK2KReRxbRwCfQhzQ
WG4cnT+fPtV5BIJfCZrcNN4=
=eaKt
-END PGP SIGNATURE-
Index: normal/cmdline.c
===
RCS file: /cvsroot/grub/grub2/normal/cmdline.c,v
retrieving revision 1.14
diff -u -p -r1.14 cmdline.c
--- normal/cmdline.c8 Mar 2005 01:01:06 - 1.14
+++ normal/cmdline.c3 Jul 2005 09:31:59 -
@@ -717,6 +717,8 @@ grub_cmdline_get (const char *prompt, ch
lpos--;
cl_set_pos ();
}
+ else
+break;
/* fall through */
case 4: /* Ctrl-d */
___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel