Fork of LCD-Window which works with Enhanced TextLCD from Wim
Fork of LcdWindow by
Diff: terminal.cpp
- Revision:
- 11:85f30e1f19fc
- Parent:
- 3:e5d5e2fe4bf6
- Child:
- 13:99b500b05716
--- a/terminal.cpp Mon Jan 04 20:22:17 2016 +0000 +++ b/terminal.cpp Mon Jan 04 21:20:43 2016 +0000 @@ -75,6 +75,10 @@ for (int i=0;i<_rows;i++) { _window->writeText(0,i,_lineBuffer[i]); } + if (strlen(text) > _columns){ + // add the remaining text to the next Line + this->addText(text + _columns); + } } void Terminal::clear() {