From: Francois Fleuret Date: Tue, 14 Apr 2009 12:26:33 +0000 (+0200) Subject: Cosmetics. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=7a7573dd2cd455de9e1848cfe56775de7b7d4d2b;p=selector.git Cosmetics. --- diff --git a/selector.cc b/selector.cc index e854405..36b7b9a 100644 --- a/selector.cc +++ b/selector.cc @@ -502,12 +502,19 @@ void update_screen(int *current_line, int *temporary_line, int motion, addstr(" "); } - if(use_regexp) { - addstr(" [regexp]"); - } + if(use_regexp || case_sensitive) { + addstr("["); + if(use_regexp) { + addstr("regexp"); + } - if(case_sensitive) { - addstr(" [case]"); + if(case_sensitive) { + if(use_regexp) { + addstr(" "); + } + addstr("case"); + } + addstr("]"); } move(0, cursor_x);