Change Fl_Terminal default color() 0x0 -> FL_BLACK

This commit is contained in:
Greg Ercolano 2023-11-20 13:33:08 -08:00
parent 6252131017
commit 7c95aa7c79
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ int main(int argc, char **argv) {
G_win->end();
G_win->resizable(G_win);
G_win->show();
G_win->show(argc, argv);
Fl::add_timeout(0.5, tick_cb);
return Fl::run();
}

View File

@ -3147,7 +3147,7 @@ void Fl_Terminal::init_(int X,int Y,int W,int H,const char*L,int rows,int cols,i
vscroll_->callback(scrollbar_cb, (void*)this);
resizable(0);
Fl_Group::box(FL_DOWN_FRAME);
Fl_Group::color(0x0); // black bg by default
Fl_Group::color(FL_BLACK); // black bg by default
update_screen(true); // update internal vars after setting screen size/font
clear_screen_home(); // clear screen, home cursor
clear_history(); // clear history buffer