GUI ask the user to enter a string. More...
#include "config.h"
#include <stdbool.h>
#include <stddef.h>
#include <string.h>
#include <wchar.h>
#include "mutt/lib.h"
#include "core/lib.h"
#include "gui/lib.h"
#include "mutt.h"
#include "color/lib.h"
#include "complete/lib.h"
#include "history/lib.h"
#include "key/lib.h"
#include "menu/lib.h"
#include "functions.h"
#include "muttlib.h"
#include "state.h"
#include "wdata.h"
Go to the source code of this file.
Functions | |
static int | my_addwch (struct MuttWindow *win, wchar_t wc) |
Display one wide character on screen. | |
bool | self_insert (struct EnterWindowData *wdata, int ch) |
Insert a normal character. | |
static int | enter_recalc (struct MuttWindow *win) |
Recalculate the Window data - Implements MuttWindow::recalc() -. | |
static int | enter_repaint (struct MuttWindow *win) |
Repaint the Window - Implements MuttWindow::repaint() -. | |
static bool | enter_recursor (struct MuttWindow *win) |
Recursor the Window - Implements MuttWindow::recursor() -. | |
int | mw_get_field (const char *prompt, struct Buffer *buf, CompletionFlags complete, enum HistoryClass hclass, const struct CompleteOps *comp_api, void *cdata) |
Ask the user for a string -. | |
Variables | |
static const struct Mapping | EditorHelp [] |
Help Bar for the Command Line Editor. | |
GUI ask the user to enter a string.
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 window.c.
|
static |
Display one wide character on screen.
win | Window |
wc | Character to display |
OK | Success |
ERR | Failure |
Definition at line 71 of file window.c.
bool self_insert | ( | struct EnterWindowData * | wdata, |
int | ch | ||
) |
Insert a normal character.
wdata | Enter window data |
ch | Raw keypress |
true | If done (enter pressed) |
Definition at line 89 of file window.c.
|
static |