diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-04-11 12:13:09 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-04-11 12:13:09 +0200 |
| commit | 3b7757793a46beac6e9c31ebce595cd3c41bac77 (patch) | |
| tree | f8ba8337996adf26a518d132df0419088abb1818 /editor.h | |
| parent | c56e523ce74dd48d8c18f4dce3e8881310613015 (diff) | |
| download | vis-3b7757793a46beac6e9c31ebce595cd3c41bac77.tar.gz vis-3b7757793a46beac6e9c31ebce595cd3c41bac77.tar.xz | |
Remove global mode state
Once again show mode in window status bar.
Diffstat (limited to 'editor.h')
| -rw-r--r-- | editor.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -239,6 +239,9 @@ struct Editor { Action action; /* current action which is in progress */ Action action_prev; /* last operator action used by the repeat '.' key */ + Mode *mode; /* currently active mode, used to search for keybindings */ + Mode *mode_prev; /* previsouly active user mode */ + Mode *mode_before_prompt; /* user mode which was active before entering prompt */ }; Editor *editor_new(Ui*); |
