NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
config.c File Reference

Config used by libmenu. More...

#include "config.h"
#include <stddef.h>
#include <config/lib.h>
#include <stdbool.h>
+ Include dependency graph for config.c:

Go to the source code of this file.


bool config_init_menu (struct ConfigSet *cs)
 Register menu config variables - Implements module_init_config_t -. More...


static struct ConfigDef MenuVars []

Detailed Description

Config used by libmenu.

  • Richard Russon

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see

Definition in file config.c.

Variable Documentation

◆ MenuVars

struct ConfigDef MenuVars[]
Initial value:
= {
{ "menu_context", DT_NUMBER|DT_NOT_NEGATIVE, 0, 0, NULL,
"Number of lines of overlap when changing pages in the index"
{ "menu_move_off", DT_BOOL, true, 0, NULL,
"Allow the last menu item to move off the bottom of the screen"
{ "menu_scroll", DT_BOOL, false, 0, NULL,
"Scroll the menu/index by one line, rather than a page"
{ NULL },
Negative numbers are not allowed.
Definition: types.h:47
#define DT_NUMBER
a number
Definition: types.h:35
#define DT_BOOL
boolean option
Definition: types.h:30

Definition at line 34 of file config.c.