Tiny command line fix
PATCH 1/1 Tiny command line fix
-----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
cmdline.c +2 -0
@@ -717,6 +717,8 @@ grub_cmdline_get (const char *prompt, ch lpos--;cl_set_pos (); } +else +break ;/* fall through */ case 4 :/* Ctrl-d */
Quoted 5 lines · Vincent Pelletier
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.
commandline.c? Hmm, you seem not to use the Change Log mode in Emacs. ;)
Please check it in.
Okuji