console: Remember if ctrlc is disabled in console_tstc()
authorJoe Hershberger <joe.hershberger@ni.com>
Tue, 3 Jul 2018 01:06:48 +0000 (20:06 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 26 Jul 2018 19:08:16 +0000 (14:08 -0500)
commitb2f58d8ee090ccf15b1366ac46a075c02a01f4fc
treea24f7274b4297530117f07a54514e0ee3a13721e
parent08fcdd332f3d6bc7842e21a97c80789d9233e147
console: Remember if ctrlc is disabled in console_tstc()

We don't necessarily want to re-enable ctrl-c if it was already disabled
when calling tstc().

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/console.c