Improved tabulator for the on screen KDL.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15651 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-12-22 00:43:21 +00:00
parent ebe5949e61
commit f31dc4dd08

View File

@ -388,7 +388,9 @@ parse_character(char c)
break; break;
case '\t': case '\t':
// ToDo: real tab... // ToDo: real tab...
put_character(' '); sScreen.x = (sScreen.x + 8) & ~7;
if (sScreen.x >= sScreen.columns)
next_line();
break; break;
case '\r': case '\r':