Mercurial > vim
comparison src/testdir/screendump.vim @ 13845:f22db93bd887 v8.0.1794
patch 8.0.1794: duplicate term options after renaming
commit https://github.com/vim/vim/commit/b833c1ef7be1ed216a967dd7262473ec97084fa2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 5 16:36:06 2018 +0200
patch 8.0.1794: duplicate term options after renaming
Problem: Duplicate term options after renaming.
Solution: Remove the old names 'termkey', 'termsize' and 'terminalscroll'.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 05 May 2018 16:45:05 +0200 |
parents | 415185e2c970 |
children | dc67449d648c |
comparison
equal
deleted
inserted
replaced
13844:11e433673c49 | 13845:f22db93bd887 |
---|---|
55 | 55 |
56 let cmd = GetVimCommandClean() | 56 let cmd = GetVimCommandClean() |
57 " Add -v to have gvim run in the terminal (if possible) | 57 " Add -v to have gvim run in the terminal (if possible) |
58 let cmd .= ' -v ' . a:arguments | 58 let cmd .= ' -v ' . a:arguments |
59 let buf = term_start(cmd, {'curwin': 1, 'term_rows': rows, 'term_cols': cols}) | 59 let buf = term_start(cmd, {'curwin': 1, 'term_rows': rows, 'term_cols': cols}) |
60 if &termsize == '' | 60 if &termwinsize == '' |
61 call assert_equal([rows, cols], term_getsize(buf)) | 61 call assert_equal([rows, cols], term_getsize(buf)) |
62 else | 62 else |
63 let rows = term_getsize(buf)[0] | 63 let rows = term_getsize(buf)[0] |
64 let cols = term_getsize(buf)[1] | 64 let cols = term_getsize(buf)[1] |
65 endif | 65 endif |