LcdClean() doesn't reset cursor position
Davester47 opened this issue · 1 comments
Davester47 commented
I ran into the problem mentioned in #13 concerning LcdClean() where it doesn't reset the cursor position. I've created a program to demonstrate the problem:
#include <ev3.h>
int main() {
InitEV3();
LcdPrintf(1, "Hello World!\n");
Wait(1000);
LcdClean();
LcdPrintf(1, "I am a line farther down than I should be.\n");
Wait(2000);
FreeEV3();
return 0;
}
I realize that this might break code for a small subset of users, but it would be an easy enough fix as long as they find out about it.
a3f commented
As mentioned in the just-merged pull request, there's Ev3Clear()
for this. Closing.