Fixed \ESCM (reverse index). It shall only scroll when the cursor is in
the first line. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25992 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -834,7 +834,10 @@ TermParse::EscParse()
|
|||||||
|
|
||||||
case CASE_RI:
|
case CASE_RI:
|
||||||
/* RI */
|
/* RI */
|
||||||
fBuffer->ScrollBy(-1);
|
if (fBuffer->Cursor().y == 0)
|
||||||
|
fBuffer->ScrollBy(-1);
|
||||||
|
else
|
||||||
|
fBuffer->MoveCursorUp(1);
|
||||||
parsestate = groundtable;
|
parsestate = groundtable;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user