NeoMutt  2024-04-25-89-g194907
Teaching an old dog new tricks
No Matches
config.c File Reference

Config used by libmenu. More...

#include "config.h"
#include <stdbool.h>
#include <stddef.h>
#include "config/lib.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 -.


static struct ConfigDef MenuVars []
 Config definitions for the Menu library.

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|D_INTEGER_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 },
a number
Definition: types.h:39
boolean option
Definition: types.h:32
Negative numbers are not allowed.
Definition: types.h:101

Config definitions for the Menu library.

Definition at line 37 of file config.c.