aboutsummaryrefslogtreecommitdiff
path: root/sam.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2020-09-20 17:59:56 +0200
committerMarc André Tanner <mat@brain-dump.org>2020-09-20 17:59:56 +0200
commit30bf6ebd9fc9e95f457b80c8263e8ee7e87e1ed4 (patch)
treebe9dc4e6a7b1933e76aa1ba2513fbef524297e2a /sam.c
parent02970c7e7fe39c0f1a75ce888ac25813a4fa2ee0 (diff)
parente938326eee9781d340ae3704a742d5e3bad95cb6 (diff)
downloadvis-30bf6ebd9fc9e95f457b80c8263e8ee7e87e1ed4.tar.gz
vis-30bf6ebd9fc9e95f457b80c8263e8ee7e87e1ed4.tar.xz
Merge branch 'emg-add-ignorecase' of https://github.com/deepcube/vis into master
Diffstat (limited to 'sam.c')
-rw-r--r--sam.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sam.c b/sam.c
index 6909020..b1be53b 100644
--- a/sam.c
+++ b/sam.c
@@ -300,6 +300,7 @@ enum {
OPTION_LOAD_METHOD,
OPTION_CHANGE_256COLORS,
OPTION_LAYOUT,
+ OPTION_IGNORECASE,
};
static const OptionDef options[] = {
@@ -388,6 +389,11 @@ static const OptionDef options[] = {
VIS_OPTION_TYPE_STRING,
VIS_HELP("Vertical or horizontal window layout")
},
+ [OPTION_IGNORECASE] = {
+ { "ignorecase", "ic" },
+ VIS_OPTION_TYPE_BOOL,
+ VIS_HELP("Ignore case when searching")
+ },
};
bool sam_init(Vis *vis) {