diff options
author | mongo <andmarti@gmail.com> | 2017-04-10 14:57:59 -0300 |
---|---|---|
committer | mongo <andmarti@gmail.com> | 2017-04-10 14:57:59 -0300 |
commit | 46ba5b07a7fffe78f486e838c9a79930baf5459e (patch) | |
tree | a279a26bcc825077710a052a72ca9d2f90410c30 /src/input.c | |
parent | f5959f99d723630c9efaaa30a1209316064f9158 (diff) |
use chg_mode everywhere instead of changing curmode directly
Diffstat (limited to 'src/input.c')
-rw-r--r-- | src/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input.c b/src/input.c index 937aaa8..9e7902d 100644 --- a/src/input.c +++ b/src/input.c @@ -130,7 +130,7 @@ void break_waitcmd_loop(struct block * buffer) { exit_visualmode(); } - curmode = NORMAL_MODE; + chg_mode('.'); cmd_pending = 0; // No longer wait for command. Set flag. cmd_multiplier = 0; // Reset the multiplier inputline[0] = L'\0'; // clean inputline |