Added support for \ESC[%dT (scroll screen down).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25984 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2008-06-16 23:27:07 +00:00
parent 1dd3570350
commit 9035d0e247
3 changed files with 9 additions and 1 deletions

View File

@ -951,6 +951,13 @@ TermParse::EscParse()
parsestate = groundtable;
break;
case CASE_SD: // scroll screen down
if ((row = param[0]) < 1)
row = 1;
fBuffer->ScrollBy(-row);
parsestate = groundtable;
break;
default:
break;
}

View File

@ -1117,7 +1117,7 @@ CASE_GROUND_STATE,
CASE_GROUND_STATE,
CASE_SU,
/* T U V W */
CASE_GROUND_STATE,
CASE_SD,
CASE_GROUND_STATE,
CASE_GROUND_STATE,
CASE_GROUND_STATE,

View File

@ -121,3 +121,4 @@
#define CASE_HPA 88
#define CASE_SU 89 /* scroll screen up */
#define CASE_SD 90 /* scroll screen down */