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:
parent
1dd3570350
commit
9035d0e247
@ -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;
|
||||
}
|
||||
|
@ -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,
|
||||
|
@ -121,3 +121,4 @@
|
||||
#define CASE_HPA 88
|
||||
|
||||
#define CASE_SU 89 /* scroll screen up */
|
||||
#define CASE_SD 90 /* scroll screen down */
|
||||
|
Loading…
Reference in New Issue
Block a user