xmlterm changes only (not part of the default build).

Minor bug fix: prompt detection now treats tab as whitespace.


git-svn-id: svn://10.0.0.236/trunk@63254 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
svn%xmlterm.org 2000-03-17 05:36:29 +00:00
parent c35e4c1e39
commit f08461d55b

View File

@ -958,8 +958,8 @@ static int ltermPromptLocate(struct lterms *lts)
promptLen = 0;
} else {
/* Skip any spaces following the delimiter */
const UNICHAR spaceStr[2] = {U_SPACE, U_NUL};
/* Skip any whitespace following the delimiter */
const UNICHAR spaceStr[3] = {U_SPACE, U_TAB, U_NUL};
int spaceCount = ucsspn(lto->outputLine+prefixCount+1, spaceStr);
promptLen = prefixCount + 1 + spaceCount;