A terminated buffer just feels better.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9875 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -301,6 +301,9 @@ tab(void)
|
|||||||
for (; i < console.x; i++) {
|
for (; i < console.x; i++) {
|
||||||
console.lines[target_line][i] = ' ';
|
console.lines[target_line][i] = ' ';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.lines[target_line][console.x] = '\0';
|
||||||
|
|
||||||
// There is no need to mark the line dirty
|
// There is no need to mark the line dirty
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user