Mercurial > vim
changeset 11931:689bcb8f241c v8.0.0845
patch 8.0.0845: MS-Windows: missing semicolon in terminal code
commit https://github.com/vim/vim/commit/d8dc1799377027be622d8571545658b20042e92e
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Aug 3 11:55:21 2017 +0200
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 https://github.com/vim/vim/issues/1923)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 03 Aug 2017 12:00:04 +0200 |
parents | c9767bd7bef6 |
children | 6dd3262cbf09 |
files | src/terminal.c src/version.c |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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))