forked from nuttx/nuttx-update
Fix bugs in EMACS command line editor, primarily errors in the VT100 commands
This commit is contained in:
parent
7dfadbb505
commit
546ba78988
1 changed files with 5 additions and 5 deletions
|
@ -142,12 +142,12 @@
|
|||
#define VT100_CLEARBOS {ASCII_ESC, '[', '1', 'J'} /* Clear screen from cursor up */
|
||||
#define VT100_CLEARSCREEN {ASCII_ESC, '[', '2', 'J'} /* Clear entire screen */
|
||||
|
||||
#define VT100_DEVSTAT {ASCII_ESC, '5', 'n'} /* Device status report */
|
||||
#define VT100_TERMOK {ASCII_ESC, '0', 'n'} /* Response: terminal is OK */
|
||||
#define VT100_TERMNOK {ASCII_ESC, '3', 'n'} /* Response: terminal is not OK */
|
||||
#define VT100_DEVSTAT {ASCII_ESC, '[', '5', 'n'} /* Device status report */
|
||||
#define VT100_TERMOK {ASCII_ESC, '[', '0', 'n'} /* Response: terminal is OK */
|
||||
#define VT100_TERMNOK {ASCII_ESC, '[', '3', 'n'} /* Response: terminal is not OK */
|
||||
|
||||
#define VT100_GETCURSOR {ASCII_ESC, '6', 'n'} /* Get cursor position */
|
||||
#define VT100_CURSORPOSAT {ASCII_ESC, (v), ';', (h), 'R'} /* Response: cursor is at v,h */
|
||||
#define VT100_GETCURSOR {ASCII_ESC, '[', '6', 'n'} /* Get cursor position */
|
||||
#define VT100_CURSORPOSAT {ASCII_ESC, '[', (v), ';', (h), 'R'} /* Response: cursor is at v,h */
|
||||
|
||||
#define VT100_IDENT {ASCII_ESC, '[', 'c'} /* Identify what terminal type */
|
||||
#define VT100_IDENT_ {ASCII_ESC, '[', '0', 'c'} /* Identify what terminal type */
|
||||
|
|
Loading…
Reference in a new issue