55 bool true_color =
false;
56#ifdef NEOMUTT_DIRECT_COLORS
Color and attribute parsing.
@ MT_COLOR_NORMAL
Plain text.
Convenience wrapper for the config headers.
bool cs_register_variables(const struct ConfigSet *cs, struct ConfigDef vars[])
Register a set of config items.
Convenience wrapper for the core headers.
void mutt_endwin(void)
Shutdown curses.
GUI miscellaneous curses (window drawing) routines.
const struct Module ModuleGui
Module for the Gui library.
int log_disp_curses(time_t stamp, const char *file, int line, const char *function, enum LogLevel level, const char *format,...)
Display a log line in the message line - Implements log_dispatcher_t -.
#define mutt_debug(LEVEL,...)
struct ConfigDef GuiVars[]
Config definitions for the Gui library.
static bool gui_gui_init(struct NeoMutt *n)
Initialise the GUI - Implements Module::gui_init()
static bool gui_cleanup(struct NeoMutt *n, void *data)
Clean up a Module - Implements Module::cleanup()
static bool gui_config_define_variables(struct NeoMutt *n, struct ConfigSet *cs)
Define the Config Variables - Implements Module::config_define_variables()
static void log_gui(void)
Log info about the GUI.
static bool gui_init(struct NeoMutt *n)
Initialise a Module - Implements Module::init()
static void gui_gui_cleanup(struct NeoMutt *n)
Clean up the GUI - Implements Module::gui_cleanup()
int log_dispatcher_t MuttLogger
@ LL_DEBUG1
Log at debug level 1.
#define FREE(x)
Free memory and set the pointer to NULL.
#define MUTT_MEM_CALLOC(n, type)
@ MODULE_ID_GUI
ModuleGui, Graphical code
Convenience wrapper for the library headers.
void log_queue_set_max_size(int size)
Set a upper limit for the queue length.
void log_queue_flush(log_dispatcher_t disp)
Replay the log queue.
struct Notify * notify_new(void)
Create a new notifications handler.
void notify_set_parent(struct Notify *notify, struct Notify *parent)
Set the parent notification handler.
void notify_free(struct Notify **ptr)
Free a notification handler.
const char * mutt_str_getenv(const char *name)
Get an environment variable.
const struct AttrColor * mutt_curses_set_color_by_id(enum ColorId cid)
Set the colour and attributes by the Colour ID.
Define wrapper functions around Curses.
void mutt_resize_screen(void)
Update NeoMutt's opinion about the window size.
void neomutt_set_module_data(struct NeoMutt *n, enum ModuleId id, void *data)
Set the private data for a Module.
void * neomutt_get_module_data(struct NeoMutt *n, enum ModuleId id)
Get the private data for a Module.
void rootwin_cleanup(struct GuiModuleData *mod_data)
Free all the default Windows.
Container for lots of config items.
bool ts_supported
Terminal Setting is supported.
struct MuttWindow * root_window
Parent of all Windows.
struct Notify * notify
Notifications.
struct WindowState state
Current state of the Window.
Container for Accounts, Notifications.
struct Notify * notify
Notifications handler.
short cols
Number of columns, can be MUTT_WIN_SIZE_UNLIMITED.
short rows
Number of rows, can be MUTT_WIN_SIZE_UNLIMITED.
bool mutt_ts_capability(void)
Check terminal capabilities.
Set the terminal title/icon.