From 4f307b5d1f246e8deac942bd144f0aeeac31cdff Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Thu, 12 Mar 2009 17:30:47 +0100 Subject: [PATCH] Automatic commit --- selector.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); -- 2.39.5