- Use correct string length when reporting cursor position. Patch by Víctor Martínez
CORE-8147 #resolve

svn path=/trunk/; revision=63131
This commit is contained in:
Thomas Faber 2014-05-03 13:58:02 +00:00
parent 2c84548327
commit 5e26b1988c

View file

@ -709,7 +709,7 @@ char* TANSIParser::ParseEscapeANSI(char* pszBuffer, char* pszBufferEnd)
case 'n':
if (iCurrentParam == 1 && iParam[0]==5) {
// report the cursor position
Network.WriteString("\x1B[0n", 6);
Network.WriteString("\x1B[0n", 4);
break;
}
if (iCurrentParam == 1 && iParam[0]==6){