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:
parent
3912340dee
commit
2f9135e39a
@ -834,7 +834,10 @@ TermParse::EscParse()
|
||||
|
||||
case CASE_RI:
|
||||
/* RI */
|
||||
fBuffer->ScrollBy(-1);
|
||||
if (fBuffer->Cursor().y == 0)
|
||||
fBuffer->ScrollBy(-1);
|
||||
else
|
||||
fBuffer->MoveCursorUp(1);
|
||||
parsestate = groundtable;
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user