Handle cursor key mode (application vs. ANSI). "less" now works.

This commit is contained in:
Keith Winstein
2011-02-03 03:56:02 -05:00
parent 4ca5b35d7d
commit 5a3c4a201b
9 changed files with 41 additions and 14 deletions
+2
View File
@@ -208,6 +208,8 @@ static Function func_CSI_TBC( CSI, "g", CSI_TBC );
static bool *get_DEC_mode( int param, Framebuffer *fb ) {
switch ( param ) {
case 1: /* cursor key mode */
return &(fb->ds.application_mode_cursor_keys);
case 3: /* 80/132 */
/* clear screen */
fb->ds.move_row( 0 );