patch 8.0.0725: a terminal window does not handle keyboard input
Problem: A terminal window does not handle keyboard input.
Solution: Add terminal_loop(). ":term bash -i" sort of works now.
diff --git a/src/main.c b/src/main.c
index 6e21f73..268c256 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1354,7 +1354,14 @@
do_exmode(exmode_active == EXMODE_VIM);
}
else
+ {
+#ifdef FEAT_TERMINAL
+ if (curbuf->b_term != NULL && oa.op_type == OP_NOP
+ && oa.regname == NUL)
+ terminal_loop();
+#endif
normal_cmd(&oa, TRUE);
+ }
}
}