summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Fonseca <jonas.fonseca@gmail.com>2014-04-26 13:36:09 -0400
committerJonas Fonseca <jonas.fonseca@gmail.com>2014-04-26 13:36:09 -0400
commit70be210fd255c2b14375186e34ec689861e6bdc0 (patch)
treeac8768880dacd929c8ed60e43b86d1515435f2f5
parentc90586b43afbd4164f71ca55916a680b20be41d8 (diff)
Don't complete any settings in the section column
It is only supposed to be used internally.
-rw-r--r--src/prompt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/prompt.c b/src/prompt.c
index 71972d27..bc1815eb 100644
--- a/src/prompt.c
+++ b/src/prompt.c
@@ -318,7 +318,7 @@ readline_toggle_generator(const char *text, int state)
#define DEFINE_OPTION_WORD(name, type, flags) argv_append(&words, #name);
#define DEFINE_COLUMN_OPTIONS_WORD(name, type, flags) #name,
#define DEFINE_COLUMN_OPTIONS_WORDS(name, id, options) \
- { \
+ if (VIEW_COLUMN_##id != VIEW_COLUMN_SECTION) { \
const char *vars[] = { \
options(DEFINE_COLUMN_OPTIONS_WORD) \
}; \