The History Selection Dialog lets the user choose a string from the history, e.g.
a past command.
This is a Simple Dialog
| Name | Type | See Also |
|---|---|---|
| History Selection Dialog | WT_DLG_HISTORY | dlg_history() |
Parent
Children
The Simple Dialog holds a Menu. The History Selection Dialog stores its data (char **matches) in Menu::mdata.
Once constructed, it is controlled by the following events:
| Event Type | Handler |
|---|---|
| NT_CONFIG | history_config_observer() |
The dialog is not affected by colours and doesn't support sorting. Some other events are handled by the Menu (part of the Simple Dialog).
| Function | Description | Links |
|---|---|---|
| dlg_history() | Select an item from a history list | gui_dlg |
| history_config_observer() | Notification that a Config Variable has changed | observer_t, observer_api |
| history_make_entry() | Format a History Item for the Menu | Menu::make_entry(), menu_make_entry |