NeoMutt
2025-12-11-1009-ga75d9e
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
Loading...
Searching...
No Matches
status.c
Go to the documentation of this file.
1
28
34
35
#include "config.h"
36
#include "
core/lib.h
"
37
#include "
status.h
"
38
#include "
expando/lib.h
"
39
#include "
expando_status.h
"
40
51
void
menu_status_line
(
struct
Buffer
*buf,
struct
IndexSharedData
*
shared
,
52
struct
Menu
*
menu
,
int
max_cols,
const
struct
Expando
*exp)
53
{
54
struct
MenuStatusLineData
data = {
shared
,
menu
};
55
56
expando_filter
(exp,
StatusRenderCallbacks
, &data,
MUTT_FORMAT_NONE
, max_cols,
57
NeoMutt
->
env
, buf);
58
}
lib.h
Convenience wrapper for the core headers.
expando_filter
int expando_filter(const struct Expando *exp, const struct ExpandoRenderCallback *erc, void *data, MuttFormatFlags flags, int max_cols, char **env_list, struct Buffer *buf)
Render an Expando and run the result through a filter.
Definition
filter.c:139
lib.h
Parse Expando string.
StatusRenderCallbacks
const struct ExpandoRenderCallback StatusRenderCallbacks[]
Callbacks for Status Expandos.
Definition
expando_status.c:467
expando_status.h
GUI display a user-configurable status line.
MUTT_FORMAT_NONE
@ MUTT_FORMAT_NONE
No flags are set.
Definition
render.h:37
menu_status_line
void menu_status_line(struct Buffer *buf, struct IndexSharedData *shared, struct Menu *menu, int max_cols, const struct Expando *exp)
Create the status line.
Definition
status.c:51
status.h
GUI display a user-configurable status line.
Buffer
String manipulation buffer.
Definition
buffer.h:36
Expando
Parsed Expando trees.
Definition
expando.h:41
IndexSharedData
Data shared between Index, Pager and Sidebar.
Definition
shared_data.h:37
MenuStatusLineData
Data for creating a Menu line.
Definition
expando_status.h:32
MenuStatusLineData::shared
struct IndexSharedData * shared
Data shared between Index, Pager and Sidebar.
Definition
expando_status.h:33
MenuStatusLineData::menu
struct Menu * menu
Current Menu.
Definition
expando_status.h:34
Menu
Definition
lib.h:86
NeoMutt
Container for Accounts, Notifications.
Definition
neomutt.h:41
NeoMutt::env
char ** env
Private copy of the environment variables.
Definition
neomutt.h:57