comparison src/terminal.c @ 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 728805b1523e
children d033653d3df8
comparison
equal deleted inserted replaced
11930:c9767bd7bef6 11931:689bcb8f241c
35 * When the job ends the text is put in a buffer. Redrawing then happens from 35 * When the job ends the text is put in a buffer. Redrawing then happens from
36 * that buffer, attributes come from the scrollback buffer tl_scrollback. 36 * that buffer, attributes come from the scrollback buffer tl_scrollback.
37 * 37 *
38 * TODO: 38 * TODO:
39 * - don't allow exiting Vim when a terminal is still running a job 39 * - don't allow exiting Vim when a terminal is still running a job
40 * - MS-Windows: no redraw for 'updatetime' #1915
40 * - in bash mouse clicks are inserting characters. 41 * - in bash mouse clicks are inserting characters.
41 * - mouse scroll: when over other window, scroll that window. 42 * - mouse scroll: when over other window, scroll that window.
42 * - For the scrollback buffer store lines in the buffer, only attributes in 43 * - For the scrollback buffer store lines in the buffer, only attributes in
43 * tl_scrollback. 44 * tl_scrollback.
44 * - When the job ends: 45 * - When the job ends:
52 * attributes (color, blink, etc.) 53 * attributes (color, blink, etc.)
53 * - To set BS correctly, check get_stty(); Pass the fd of the pty. 54 * - To set BS correctly, check get_stty(); Pass the fd of the pty.
54 * - do not store terminal window in viminfo. Or prefix term:// ? 55 * - do not store terminal window in viminfo. Or prefix term:// ?
55 * - add a character in :ls output 56 * - add a character in :ls output
56 * - add 't' to mode() 57 * - add 't' to mode()
58 * - set 'filetype' to "terminal"?
57 * - use win_del_lines() to make scroll-up efficient. 59 * - use win_del_lines() to make scroll-up efficient.
58 * - implement term_setsize() 60 * - implement term_setsize()
59 * - add test for giving error for invalid 'termsize' value. 61 * - add test for giving error for invalid 'termsize' value.
60 * - support minimal size when 'termsize' is "rows*cols". 62 * - support minimal size when 'termsize' is "rows*cols".
61 * - support minimal size when 'termsize' is empty? 63 * - support minimal size when 'termsize' is empty?
966 #ifdef WIN3264 968 #ifdef WIN3264
967 if (c == Ctrl_C) 969 if (c == Ctrl_C)
968 /* We don't know if the job can handle CTRL-C itself or not, this 970 /* We don't know if the job can handle CTRL-C itself or not, this
969 * may kill the shell instead of killing the command running in the 971 * may kill the shell instead of killing the command running in the
970 * shell. */ 972 * shell. */
971 mch_stop_job(curbuf->b_term->tl_job, (char_u *)"quit") 973 mch_stop_job(curbuf->b_term->tl_job, (char_u *)"quit");
972 #endif 974 #endif
973 975
974 if (c == (termkey == 0 ? Ctrl_W : termkey)) 976 if (c == (termkey == 0 ? Ctrl_W : termkey))
975 { 977 {
976 int prev_c = c; 978 int prev_c = c;