diff src/proto/os_unix.pro @ 11741:b4d8f956eb18 v8.0.0753

patch 8.0.0753: no size reports to a job running in a terminal commit https://github.com/vim/vim/commit/b13501f7dada4154fc7633d79989d1dab98ae99d Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 22 22:32:56 2017 +0200 patch 8.0.0753: no size reports to a job running in a terminal Problem: A job running in a terminal does not get notified of changes in the terminal size. Solution: Use ioctl() and SIGWINCH to report the terminal size.
author Christian Brabandt <cb@256bit.org>
date Sat, 22 Jul 2017 22:45:04 +0200
parents 1922710ee8fa
children cca097489de5
line wrap: on
line diff
--- a/src/proto/os_unix.pro
+++ b/src/proto/os_unix.pro
@@ -53,6 +53,7 @@ void mch_setmouse(int on);
 void check_mouse_termcode(void);
 int mch_screenmode(char_u *arg);
 int mch_get_shellsize(void);
+int mch_report_winsize(int fd, int rows, int cols);
 void mch_set_shellsize(void);
 void mch_new_shellsize(void);
 int mch_parse_cmd(char_u *cmd, int use_shcf, char ***argv, int *argc);