diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-27 16:02:52 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-27 16:02:52 -0700 |
commit | bb27fd0a0c5e0ea39f267c4106f36c80465fd14b (patch) | |
tree | e1fb676bb63056afb8b3721649446d422a188637 /070display.cc | |
parent | 0e120d8153a28f825a74d0c976c9d2f208e9e267 (diff) | |
download | mu-bb27fd0a0c5e0ea39f267c4106f36c80465fd14b.tar.gz |
1487 - repl working interactively
Diffstat (limited to '070display.cc')
-rw-r--r-- | 070display.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/070display.cc b/070display.cc index a9df09c5..fd96733a 100644 --- a/070display.cc +++ b/070display.cc @@ -92,15 +92,15 @@ case PRINT_CHARACTER_TO_DISPLAY: { } break; } - int color = TB_WHITE; + int color = TB_DEFAULT; if (SIZE(ingredients) > 1) { assert(scalar(ingredients.at(1))); - color = ingredients.at(1).at(0); + color = ingredients.at(1).at(0)+1/*skip default*/; //? tb_shutdown(); //? 1 //? cerr << "AAA " << color << '\n'; //? 1 //? exit(1); //? 1 } - tb_change_cell(Display_column, Display_row, c, 7, TB_DEFAULT); + tb_change_cell(Display_column, Display_row, c, color, TB_DEFAULT); if (Display_column < width-1) { ++Display_column; tb_set_cursor(Display_column, Display_row); |