From d8dc1799377027be622d8571545658b20042e92e Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 3 Aug 2017 11:55:21 +0200 Subject: [PATCH] patch 8.0.0845: MS-Windows: missing semicolon in terminal code Problem: MS-Windows: missing semicolon in terminal code. Solution: Add it. (Naruhiko Nishino, closes #1923) --- src/terminal.c | 4 +++- src/version.c | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/terminal.c b/src/terminal.c index 53edb83c8..edb4b7558 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -37,6 +37,7 @@ * * TODO: * - don't allow exiting Vim when a terminal is still running a job + * - MS-Windows: no redraw for 'updatetime' #1915 * - in bash mouse clicks are inserting characters. * - mouse scroll: when over other window, scroll that window. * - For the scrollback buffer store lines in the buffer, only attributes in @@ -54,6 +55,7 @@ * - do not store terminal window in viminfo. Or prefix term:// ? * - add a character in :ls output * - add 't' to mode() + * - set 'filetype' to "terminal"? * - use win_del_lines() to make scroll-up efficient. * - implement term_setsize() * - add test for giving error for invalid 'termsize' value. @@ -968,7 +970,7 @@ terminal_loop(void) /* We don't know if the job can handle CTRL-C itself or not, this * may kill the shell instead of killing the command running in the * shell. */ - mch_stop_job(curbuf->b_term->tl_job, (char_u *)"quit") + mch_stop_job(curbuf->b_term->tl_job, (char_u *)"quit"); #endif if (c == (termkey == 0 ? Ctrl_W : termkey)) diff --git a/src/version.c b/src/version.c index ee0a081bf..371146130 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 */ +/**/ + 845, /**/ 844, /**/ -- 2.50.1