fix vt100 position bug.

git-svn-id: svn://qnap.local/TwoTerm/trunk@3109 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
This commit is contained in:
Kelvin Sherlock 2016-07-06 19:11:45 +00:00
parent 5fb76a212d
commit 3efa5f6b2a

View File

@ -470,7 +470,7 @@ enum {
{
// 0 = line
// 1 = column
screen->setCursor(std::max(_parms[1], 1) - 1, std::max(_parms[1],1) - 1);
screen->setCursor(std::max(_parms[1], 1) - 1, std::max(_parms[0],1) - 1);
}
else screen->setCursor(0, 0);
_state = StateText;