modified Library from sford for use with TeraTerm / VT100 emulation without sending any signs after a \"locate\" command. edited Line 35 -> deleted %c
Diff: Terminal.cpp
- Revision:
- 1:a3bd01d498a9
- Parent:
- 0:acdab91342e6
diff -r acdab91342e6 -r a3bd01d498a9 Terminal.cpp --- a/Terminal.cpp Thu Jan 26 19:30:33 2012 +0000 +++ b/Terminal.cpp Fri Jan 27 08:57:21 2012 +0000 @@ -20,6 +20,11 @@ * THE SOFTWARE. */ +/* + * 26.01.2012 -> Line 35 edited by Stefan Hendrich, all other code is original + */ + + #include "Terminal.h" #include "mbed.h" @@ -32,7 +37,7 @@ void Terminal::locate(int column, int row) { // Cursor Home <ESC>[{ROW};{COLUMN}H - this->printf("\033[%d;%dH", row + 1, column + 1); + this->printf("\033[%d;%dH", row + 1, column + 1); // %c deleted by Stefan Hendrich at 26.01.2012 } static int rgb888tobgr111(int colour) {