Mercurial > vim
comparison src/testdir/screendump.vim @ 13535:e9ffb5b35266 v8.0.1641
patch 8.0.1641: job in terminal can't communicate with Vim
commit https://github.com/vim/vim/commit/8fbaeb195d9298c3a2a80300b5f96f1adddd2f59
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 25 18:20:17 2018 +0200
patch 8.0.1641: job in terminal can't communicate with Vim
Problem: Job in terminal can't communicate with Vim.
Solution: Add the terminal API.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 25 Mar 2018 18:30:07 +0200 |
parents | f5655d70484f |
children | 3fa880445c99 |
comparison
equal
deleted
inserted
replaced
13534:e74cff16bab6 | 13535:e9ffb5b35266 |
---|---|
36 " late. | 36 " late. |
37 let $COLORFGBG = '' | 37 let $COLORFGBG = '' |
38 endif | 38 endif |
39 | 39 |
40 " Make a horizontal and vertical split, so that we can get exactly the right | 40 " Make a horizontal and vertical split, so that we can get exactly the right |
41 " size terminal window. Works only when we currently have one window. | 41 " size terminal window. Works only when the current window is full width. |
42 call assert_equal(1, winnr('$')) | 42 call assert_equal(&columns, winwidth(0)) |
43 split | 43 split |
44 vsplit | 44 vsplit |
45 | 45 |
46 " Always do this with 256 colors and a light background. | 46 " Always do this with 256 colors and a light background. |
47 set t_Co=256 background=light | 47 set t_Co=256 background=light |