NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
dlg_history.c File Reference

History Selection Dialog. More...

#include "config.h"
#include <stdbool.h>
#include <stdio.h>
#include "mutt/lib.h"
#include "config/lib.h"
#include "core/lib.h"
#include "gui/lib.h"
#include "lib.h"
#include "expando/lib.h"
#include "key/lib.h"
#include "menu/lib.h"
#include "functions.h"
#include "mutt_logging.h"
+ Include dependency graph for dlg_history.c:

Go to the source code of this file.

Functions

long history_C_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
 History: Index number - Implements ExpandoRenderData::get_number() -.
 
void history_s (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 History: History match - Implements ExpandoRenderData::get_string() -.
 
static int history_make_entry (struct Menu *menu, int line, int max_cols, struct Buffer *buf)
 Format a History Item for the Menu - Implements Menu::make_entry() -.
 
void dlg_history (char *buf, size_t buflen, char **matches, int match_count)
 Select an item from a history list -.
 

Variables

const struct ExpandoRenderData HistoryRenderData []
 Callbacks for History Expandos.
 
static const struct Mapping HistoryHelp []
 Help Bar for the History Selection dialog.
 

Detailed Description

History Selection Dialog.

Authors
  • Richard Russon
  • Tóth János

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 http://www.gnu.org/licenses/.

Definition in file dlg_history.c.

Variable Documentation

◆ HistoryRenderData

const struct ExpandoRenderData HistoryRenderData
Initial value:
= {
{ -1, -1, NULL, NULL },
}
@ ED_HISTORY
History ED_HIS_ ExpandoDataHistory.
Definition: domain.h:45
long history_C_num(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
History: Index number - Implements ExpandoRenderData::get_number() -.
Definition: dlg_history.c:89
void history_s(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
History: History match - Implements ExpandoRenderData::get_string() -.
Definition: dlg_history.c:99
@ ED_HIS_MATCH
HistoryEntry.history.
Definition: lib.h:77
@ ED_HIS_NUMBER
HistoryEntry.num.
Definition: lib.h:78

Callbacks for History Expandos.

See also
HistoryFormatDef, ExpandoDataGlobal, ExpandoDataHistory

Definition at line 73 of file dlg_history.c.

◆ HistoryHelp

const struct Mapping HistoryHelp[]
static
Initial value:
= {
{ N_("Exit"), OP_EXIT },
{ N_("Select"), OP_GENERIC_SELECT_ENTRY },
{ N_("Search"), OP_SEARCH },
{ N_("Help"), OP_HELP },
{ NULL, 0 },
}
#define N_(a)
Definition: message.h:32

Help Bar for the History Selection dialog.

Definition at line 76 of file dlg_history.c.