projects
/
selector.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cosmetics.
[selector.git]
/
selector.cc
diff --git
a/selector.cc
b/selector.cc
index
e854405
..
fff8f56
100644
(file)
--- a/
selector.cc
+++ b/
selector.cc
@@
-502,12
+502,19
@@
void update_screen(int *current_line, int *temporary_line, int motion,
addstr(" ");
}
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);
}
move(0, cursor_x);