Mercurial > vim
diff src/terminal.c @ 13847:fa0dcdaec6a3 v8.0.1795
patch 8.0.1795: lose contact with jobs when :gui forks
commit https://github.com/vim/vim/commit/b0b98d523036d534755bf1cf79d1595e61c3f7ce
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 5 21:01:00 2018 +0200
patch 8.0.1795: lose contact with jobs when :gui forks
Problem: Lose contact with jobs when :gui forks.
Solution: Don't fork when there is a running job. Make log message for a
died job clearer. Also close the terminal when stderr and stdout
are the same FD.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 05 May 2018 21:15:05 +0200 |
parents | f22db93bd887 |
children | 58b6982ca049 |
line wrap: on
line diff
--- a/src/terminal.c +++ b/src/terminal.c @@ -42,9 +42,6 @@ * redirection. Probably in call to channel_set_pipes(). * - Win32: Redirecting output does not work, Test_terminal_redir_file() * is disabled. - * - When starting terminal window with shell in terminal, then using :gui to - * switch to GUI, shell stops working. Scrollback seems wrong, command - * running in shell is still running. * - GUI: when using tabs, focus in terminal, click on tab does not work. * - handle_moverect() scrolls one line at a time. Postpone scrolling, count * the number of lines, until a redraw happens. Then if scrolling many lines