diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-08-06 14:57:49 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-08-06 14:57:49 +0200 |
commit | 6d8197485dc84532e37aced2c39292bff374200d (patch) | |
tree | c0aeccff87e3a4b26805d099a9d952a1b6bee773 /src/option.c | |
parent | 39d21e3c30f3391f3b27f5ddb7e1ad411bdb8f2e (diff) | |
download | vim-git-6d8197485dc84532e37aced2c39292bff374200d.tar.gz |
patch 8.0.0877: using CTRL-\ CTRL-N in terminal is inconsistentv8.0.0877
Problem: Using CTRL-\ CTRL-N in terminal is inconsistent.
Solution: Stay in Normal mode.
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c index d937d02ce..3b2949c34 100644 --- a/src/option.c +++ b/src/option.c @@ -8228,7 +8228,7 @@ set_bool_option( { # ifdef FEAT_TERMINAL /* Cannot set 'modifiable' when in Terminal mode. */ - if (term_in_terminal_mode() + if (term_in_normal_mode() || (bt_terminal(curbuf) && !term_is_finished(curbuf))) { curbuf->b_p_ma = FALSE; |