diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-01-27 13:40:30 -0800 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2012-01-27 13:58:49 -0800 |
commit | 05bc7eca930c01f582426654d143303fea724a02 (patch) | |
tree | 04e4eb0b7ee67a61291c5d36ec32e77f293e034f /include/util.h | |
parent | a643b6216c816c02c003608ed70285804a737804 (diff) | |
download | chrome-ec-05bc7eca930c01f582426654d143303fea724a02.tar.gz |
Eat terminal escape sequences
I keep hitting the darn arrow keys. Until we can do something more
elegant like a real command history, this will at least keep me from
corrupting the display and input buffer.
Signed-off-by: Randall Spangler <rspangler@chromium.org>
BUG=none
TEST=type 'help' and some arrow keys, then enter. Should print help, not an error.
Change-Id: Idb552e9c22876fc2dc1f349f0038e94048f00aa7
Diffstat (limited to 'include/util.h')
-rw-r--r-- | include/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h index 5930ff79aa..3381911293 100644 --- a/include/util.h +++ b/include/util.h @@ -43,6 +43,7 @@ int atoi(const char *nptr); int isdigit(int c); int isspace(int c); +int isalpha(int c); void *memcpy(void *dest, const void *src, int len); void *memset(void *dest, int c, int len); int strcasecmp(const char *s1, const char *s2); |