commit | ab06a758b9407a3f4b89d23ac08dc45aa7749f11 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Wed Oct 26 00:21:29 2011 +0000 |
committer | Wolfgang Denk <wd@denx.de> | Thu Nov 03 22:35:21 2011 +0100 |
tree | 8ce0ad0d59b2ed86b010be7d7e6a30311a6ad5d3 | |
parent | ec8f0b9024adc1075bb514edefbf186e63f84268 [diff] [blame] |
sandbox: put stdin into raw mode This allows us to act like a serial device: we get tab chars and CTRL+C and respond appropriately. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Tested-by: Simon Glass <sjg@chromium.org>
diff --git a/drivers/serial/sandbox.c b/drivers/serial/sandbox.c index 814a0f9..1927c16 100644 --- a/drivers/serial/sandbox.c +++ b/drivers/serial/sandbox.c
@@ -30,6 +30,7 @@ int serial_init(void) { + os_tty_raw(0); return 0; }