diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-10-23 12:50:42 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-10-23 23:01:56 +0200 |
| commit | 706c9e5131a6937ea5cf4ff0d0548097a243c223 (patch) | |
| tree | 7f87214164aaf250ae194a80d15d8008b45b8408 /config.def.h | |
| parent | 1dc99b23e393086076bb08318b560b9d85673480 (diff) | |
| download | vis-706c9e5131a6937ea5cf4ff0d0548097a243c223.tar.gz vis-706c9e5131a6937ea5cf4ff0d0548097a243c223.tar.xz | |
vis: introduce vis_mode_switch API
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h index c1ba0af..c3a6c4c 100644 --- a/config.def.h +++ b/config.def.h @@ -1120,7 +1120,7 @@ static void vis_mode_operator_leave(Vis *vis, Mode *new) { static void vis_mode_operator_input(Vis *vis, const char *str, size_t len) { /* invalid operator */ action_reset(vis, &vis->action); - switchmode_to(vis, vis->mode_prev); + vis_mode_set(vis, vis->mode_prev); } static KeyBinding vis_operator_options[] = { |
