comparison src/testdir/test_termcodes.vim @ 18031:8a2fb21c23c0 v8.1.2011

patch 8.1.2011: more functions can be used as methods Commit: https://github.com/vim/vim/commit/ce90e36f5969e733a0a919f1736453332c33aad6 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 8 18:58:44 2019 +0200 patch 8.1.2011: more functions can be used as methods Problem: More functions can be used as methods. Solution: Make various functions usable as a method. Make the window command test faster.
author Bram Moolenaar <Bram@vim.org>
date Sun, 08 Sep 2019 19:00:04 +0200
parents af3d441845cd
children 8a86e518fa42
comparison
equal deleted inserted replaced
18030:e7a81e948c12 18031:8a2fb21c23c0
644 call feedkeys(seq, 'Lx!') 644 call feedkeys(seq, 'Lx!')
645 call assert_equal(seq, v:termrfgresp) 645 call assert_equal(seq, v:termrfgresp)
646 646
647 " response to t_RB, 4 digits, dark 647 " response to t_RB, 4 digits, dark
648 set background=light 648 set background=light
649 call test_option_not_set('background') 649 eval 'background'->test_option_not_set()
650 let red = 0x29 650 let red = 0x29
651 let green = 0x4a 651 let green = 0x4a
652 let blue = 0x6b 652 let blue = 0x6b
653 let seq = printf("\<Esc>]11;rgb:%02x00/%02x00/%02x00\x07", red, green, blue) 653 let seq = printf("\<Esc>]11;rgb:%02x00/%02x00/%02x00\x07", red, green, blue)
654 call feedkeys(seq, 'Lx!') 654 call feedkeys(seq, 'Lx!')