diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-11-17 19:30:47 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-11-17 19:30:47 +0000 |
commit | c42f3d036548d9c814ddb3ab41f5287bbec2b793 (patch) | |
tree | 29363b6a1fe2868e61eac61ff9a0822c8ee17961 /mutt_menu.h | |
parent | 028d726be96e31731fba65fb44dc925e4c5b27e1 (diff) |
Tommi Komulainen's menu/dialog patch.
Diffstat (limited to 'mutt_menu.h')
-rw-r--r-- | mutt_menu.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mutt_menu.h b/mutt_menu.h index 367e22af..ed597949 100644 --- a/mutt_menu.h +++ b/mutt_menu.h @@ -46,6 +46,15 @@ typedef struct menu_t int offset; /* which screen row to start the index */ int pagelen; /* number of entries per screen */ int tagprefix; + + /* Setting dialog != NULL overrides normal menu behaviour. + * In dialog mode menubar is hidden and prompt keys are checked before + * normal menu movement keys. This can cause problems with scrolling, if + * prompt keys override movement keys. + */ + char **dialog; /* dialog lines themselves */ + char *prompt; /* prompt for user, similar to mutt_multi_choice */ + char *keys; /* keys used in the prompt */ /* callback to generate an index line for the requested element */ void (*make_entry) (char *, size_t, struct menu_t *, int); |