From: Francois Fleuret Date: Thu, 12 Mar 2009 16:30:47 +0000 (+0100) Subject: Automatic commit X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=4f307b5d1f246e8deac942bd144f0aeeac31cdff;p=selector.git Automatic commit --- diff --git a/selector.cc b/selector.cc index b8011b8..807f1a7 100644 --- a/selector.cc +++ b/selector.cc @@ -391,7 +391,9 @@ int main(int argc, char **argv) { if(!has_colors()) { cerr << "No colors." << endl; - return 1; + curs_set(1); + endwin(); + exit(1); } noecho();