about summary refs log tree commit diff stats
path: root/070display.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-08-26 01:43:43 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-08-26 01:43:43 -0700
commit380b0b636691ac115b179306e4cfa38e675e43b5 (patch)
tree5fea02a1b966e4285b221d3ec6ead12879877dbc /070display.cc
parent81b1975fc540a4db7af5c747ba26c63a3002d708 (diff)
downloadmu-380b0b636691ac115b179306e4cfa38e675e43b5.tar.gz
2079
Cleanup 2078.
Diffstat (limited to '070display.cc')
-rw-r--r--070display.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/070display.cc b/070display.cc
index 2429f42d..45ddb5e6 100644
--- a/070display.cc
+++ b/070display.cc
@@ -1,9 +1,5 @@
 //: Take charge of the text-mode display and console.
 
-:(before "End Globals")
-// uncomment to debug console programs
-//? ofstream LOG("log.txt");
-
 //:: Display management
 
 :(before "End Globals")
@@ -50,7 +46,6 @@ Recipe_ordinal["clear-display"] = CLEAR_DISPLAY;
 case CLEAR_DISPLAY: {
   tb_clear();
   Display_row = Display_column = 0;
-//?   tb_present();
   break;
 }
 
@@ -104,10 +99,6 @@ case PRINT_CHARACTER_TO_DISPLAY: {
     bg_color = ingredients.at(2).at(0);
     if (bg_color == 0) bg_color = TB_BLACK;
   }
-//?   ofstream fout("log", ofstream::app);
-//?   fout << "displaying at " << Display_row << ", " << Display_column << ": " << (int)c << " in color " << color << ", " << bg_color << '\n';
-//?   fout.close();
-  trace(1, "app") << "displaying at " << Display_row << ", " << Display_column << ": " << (int)c << " in color " << color << ", " << bg_color << end();
   tb_change_cell(Display_column, Display_row, c, color, bg_color);
   if (c == '\n' || c == '\r') {
     if (Display_row < height-1) {
@@ -119,10 +110,6 @@ case PRINT_CHARACTER_TO_DISPLAY: {
     break;
   }
   if (c == '\b') {
-//?     ofstream fout("log", ofstream::app);
-//?     fout << "handling backspace\n";
-//?     fout.close();
-    trace(1, "app") << "handling backspace" << end();
     if (Display_column > 0) {
       tb_change_cell(Display_column-1, Display_row, ' ', color, bg_color);
       --Display_column;