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:
Ingo Weinhold 2008-06-17 13:28:24 +00:00
parent 3912340dee
commit 2f9135e39a
1 changed files with 4 additions and 1 deletions

View File

@ -834,7 +834,10 @@ TermParse::EscParse()
case CASE_RI:
/* RI */
if (fBuffer->Cursor().y == 0)
fBuffer->ScrollBy(-1);
else
fBuffer->MoveCursorUp(1);
parsestate = groundtable;
break;