comparison src/normal.c @ 11684:1ce1376fbbf8 v8.0.0725

patch 8.0.0725: a terminal window does not handle keyboard input commit https://github.com/vim/vim/commit/938783d0ab5678c259ceb62b15be72abe69362fa Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 16 20:13:26 2017 +0200 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.
author Christian Brabandt <cb@256bit.org>
date Sun, 16 Jul 2017 20:15:03 +0200
parents 998d2cf59caa
children be40c8a9240d
comparison
equal deleted inserted replaced
11683:0cc8e85e29d4 11684:1ce1376fbbf8
7844 */ 7844 */
7845 static void 7845 static void
7846 nv_window(cmdarg_T *cap) 7846 nv_window(cmdarg_T *cap)
7847 { 7847 {
7848 #ifdef FEAT_WINDOWS 7848 #ifdef FEAT_WINDOWS
7849 if (!checkclearop(cap->oap)) 7849 if (cap->nchar == ':')
7850 /* "CTRL-W :" is the same as typing ":"; useful in a terminal window */
7851 nv_colon(cap);
7852 else if (!checkclearop(cap->oap))
7850 do_window(cap->nchar, cap->count0, NUL); /* everything is in window.c */ 7853 do_window(cap->nchar, cap->count0, NUL); /* everything is in window.c */
7851 #else 7854 #else
7852 (void)checkclearop(cap->oap); 7855 (void)checkclearop(cap->oap);
7853 #endif 7856 #endif
7854 } 7857 }