diff options
Diffstat (limited to 'shell/cmdedit.c')
-rw-r--r-- | shell/cmdedit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/cmdedit.c b/shell/cmdedit.c index 9c66ce284..25d31a0e0 100644 --- a/shell/cmdedit.c +++ b/shell/cmdedit.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * Termios command line History and Editting. | 3 | * Termios command line History and Editing. |
4 | * | 4 | * |
5 | * Copyright (c) 1986-2003 may safely be consumed by a BSD or GPL license. | 5 | * Copyright (c) 1986-2003 may safely be consumed by a BSD or GPL license. |
6 | * Written by: Vladimir Oleynik <dzo@simtreas.ru> | 6 | * Written by: Vladimir Oleynik <dzo@simtreas.ru> |
@@ -259,7 +259,7 @@ static inline void beep(void) | |||
259 | putchar('\007'); | 259 | putchar('\007'); |
260 | } | 260 | } |
261 | 261 | ||
262 | /* Move back one charactor */ | 262 | /* Move back one character */ |
263 | /* special for slow terminal */ | 263 | /* special for slow terminal */ |
264 | static void input_backward(int num) | 264 | static void input_backward(int num) |
265 | { | 265 | { |
@@ -429,7 +429,7 @@ static void parse_prompt(const char *prmt_ptr) | |||
429 | #endif | 429 | #endif |
430 | 430 | ||
431 | 431 | ||
432 | /* draw promt, editor line, and clear tail */ | 432 | /* draw prompt, editor line, and clear tail */ |
433 | static void redraw(int y, int back_cursor) | 433 | static void redraw(int y, int back_cursor) |
434 | { | 434 | { |
435 | if (y > 0) /* up to start y */ | 435 | if (y > 0) /* up to start y */ |
@@ -466,7 +466,7 @@ static void input_backspace(void) | |||
466 | } | 466 | } |
467 | 467 | ||
468 | 468 | ||
469 | /* Move forward one charactor */ | 469 | /* Move forward one character */ |
470 | static void input_forward(void) | 470 | static void input_forward(void) |
471 | { | 471 | { |
472 | if (cursor < len) | 472 | if (cursor < len) |