summaryrefslogtreecommitdiff
path: root/src/completions.h
diff options
context:
space:
mode:
authorMathieu OTHACEHE <m.othacehe@gmail.com>2016-08-07 12:50:52 +0200
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2016-11-11 15:32:48 +0100
commit0c4ea38ef84d990eb531267c980e2b90fe6a6f3a (patch)
tree0a1ec5713b8f4eea19f1c282ef2c16e0cfa681e8 /src/completions.h
parent8511dc94fc96bd5ad2ece8d730d9a9149859558a (diff)
downloadratpoison-0c4ea38ef84d990eb531267c980e2b90fe6a6f3a.zip
Introduce multiple completion styles.
The default, legacy style is named BASIC. A new completion style named SUBSTRING is added. Use SUBSTRING for window name completion in select command. Use BASIC everywhere else.
Diffstat (limited to 'src/completions.h')
-rw-r--r--src/completions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/completions.h b/src/completions.h
index d3c44af..01586ee 100644
--- a/src/completions.h
+++ b/src/completions.h
@@ -22,7 +22,7 @@
#define _RATPOISON_COMPLETIONS_H 1
char *completions_complete (rp_completions *c, char *partial, int direction);
-rp_completions *completions_new (completion_fn list_fn);
+rp_completions *completions_new (completion_fn list_fn, enum completion_styles style);
void completions_free (rp_completions *c);
#endif /* ! _RATPOISON_COMPLETIONS_H */