ldlinux: Don't return NULL on KEY_ESC.
commitb8dfe78a33e70f657f8aadb48de644a92bf82850
authorMatt Fleming <matt.fleming@intel.com>
Thu, 15 Nov 2012 19:46:54 +0000 (15 19:46 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Mon, 26 Nov 2012 12:34:13 +0000 (26 12:34 +0000)
tree582de76e6d08c1d7024c39e1b0b35ccf329ecddb
parent4e140a59517f79bf593bec0f5a80810aa877f3ed
ldlinux: Don't return NULL on KEY_ESC.

The old command line code in 4.06 ignores KEY_ESC and KEY_CTRL('C') so
we should do the same. What currently happens if a user hits ESC is
that we return from edit_cmdline() as though we'd timed out waiting
for user input.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/elflink/ldlinux/cli.c