diff --git a/src/normal.c b/src/normal.c index 24ab06ddf..ea963667d 100644 --- a/src/normal.c +++ b/src/normal.c @@ -1308,6 +1308,12 @@ normal_end: } #endif +#ifdef FEAT_TERMINAL + /* don't go to Insert mode from Terminal-Job mode */ + if (term_use_loop()) + restart_edit = 0; +#endif + /* * May restart edit(), if we got here with CTRL-O in Insert mode (but not * if still inside a mapping that started in Visual mode). diff --git a/src/version.c b/src/version.c index f3e5a3ad3..ebfa0bf2e 100644 --- a/src/version.c +++ b/src/version.c @@ -769,6 +769,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 947, /**/ 946, /**/