Automatic commit
[selector.git] / selector.cc
index b8011b8..807f1a7 100644 (file)
@@ -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();