modified Library from sford for use with TeraTerm / VT100 emulation without sending any signs after a \"locate\" command. edited Line 35 -> deleted %c

Files at this revision

API Documentation at this revision

Comitter:
Ipu
Date:
Fri Jan 27 08:57:21 2012 +0000
Parent:
0:acdab91342e6
Commit message:
insert comments

Changed in this revision

Terminal.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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) {