Entering/leaving insert mode should only happen with parameter 4.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25991 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2008-06-17 13:19:25 +00:00
parent 14a3b510e8
commit 3912340dee

View File

@ -673,13 +673,15 @@ TermParse::EscParse()
case CASE_SET:
/* SET */
fBuffer->SetInsertMode(MODE_INSERT);
if (param[0] == 4)
fBuffer->SetInsertMode(MODE_INSERT);
parsestate = groundtable;
break;
case CASE_RST:
/* RST */
fBuffer->SetInsertMode(MODE_OVER);
if (param[0] == 4)
fBuffer->SetInsertMode(MODE_OVER);
parsestate = groundtable;
break;