diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-07-22 22:32:56 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-07-22 22:32:56 +0200 |
commit | b13501f7dada4154fc7633d79989d1dab98ae99d (patch) | |
tree | 097de64eb33e7c336cd83b15491316256181950e /src/proto | |
parent | d7d3cbedb3dc5c843724430539ad52ddafcefc93 (diff) | |
download | vim-git-b13501f7dada4154fc7633d79989d1dab98ae99d.tar.gz |
patch 8.0.0753: no size reports to a job running in a terminalv8.0.0753
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.
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/os_unix.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/os_unix.pro b/src/proto/os_unix.pro index 11191c95b..cfdf0ed0d 100644 --- 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); |