NeoMutt  2021-02-05-89-gabe350
Teaching an old dog new tricks
DOXYGEN
enter_state.h
Go to the documentation of this file.
1 
23 #ifndef MUTT_ENTER_STATE_H
24 #define MUTT_ENTER_STATE_H
25 
26 #include <stddef.h>
27 #include <wchar.h>
28 
32 struct EnterState
33 {
34  wchar_t *wbuf;
35  size_t wbuflen;
36  size_t lastchar;
37  size_t curpos;
38  size_t begin;
39  int tabs;
40 };
41 
42 void mutt_enter_state_free(struct EnterState **ptr);
43 struct EnterState *mutt_enter_state_new(void);
44 
45 #endif /* MUTT_ENTER_STATE_H */
EnterState::lastchar
size_t lastchar
Definition: enter_state.h:36
EnterState::wbuflen
size_t wbuflen
Definition: enter_state.h:35
EnterState::begin
size_t begin
Definition: enter_state.h:38
EnterState::tabs
int tabs
Definition: enter_state.h:39
EnterState
Keep our place when entering a string.
Definition: enter_state.h:32
EnterState::curpos
size_t curpos
Definition: enter_state.h:37
mutt_enter_state_free
void mutt_enter_state_free(struct EnterState **ptr)
Free an EnterState.
Definition: enter.c:842
mutt_enter_state_new
struct EnterState * mutt_enter_state_new(void)
Create a new EnterState.
Definition: enter.c:128
EnterState::wbuf
wchar_t * wbuf
Definition: enter_state.h:34