Simon Fords Terminal with bug fix in ::locate

Dependents:   UARTSnoop BaseJpegDecode_example

Fork of Terminal by Simon Ford

Files at this revision

API Documentation at this revision

Comitter:
cbayley
Date:
Sun Jul 15 21:54:06 2012 +0000
Parent:
2:85184c13476c
Commit message:
Version 2; HexDump style

Changed in this revision

Terminal.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Terminal.cpp	Tue Nov 23 16:03:35 2010 +0000
+++ b/Terminal.cpp	Sun Jul 15 21:54:06 2012 +0000
@@ -32,7 +32,7 @@
 
 void Terminal::locate(int column, int row) {
     // Cursor Home    <ESC>[{ROW};{COLUMN}H
-    this->printf("\033[%d;%dH%c", row + 1, column + 1);
+    this->printf("\033[%d;%dH", row + 1, column + 1);
 }
 
 static int rgb888tobgr111(int colour) {