comparison src/libvterm/t/64screen_pen.test @ 20500:03826c672315 v8.2.0804

patch 8.2.0804: libvterm code lags behind the upstream version Commit: https://github.com/vim/vim/commit/e5886ccb5163873dd01fc67b09ab10e681351ee9 Author: Bram Moolenaar <Bram@vim.org> Date: Thu May 21 20:10:04 2020 +0200 patch 8.2.0804: libvterm code lags behind the upstream version Problem: Libvterm code lags behind the upstream version. Solution: Include revision 727, but add the index instead of switching between RGB and indexed.
author Bram Moolenaar <Bram@vim.org>
date Thu, 21 May 2020 20:15:04 +0200
parents bf530e4e910a
children 82336c3b679d
comparison
equal deleted inserted replaced
20499:a7a490678633 20500:03826c672315
27 PUSH "\e[11mF\e[m" 27 PUSH "\e[11mF\e[m"
28 ?screen_cell 0,5 = {0x46} width=1 attrs={F1} fg=rgb(240,240,240) bg=rgb(0,0,0) 28 ?screen_cell 0,5 = {0x46} width=1 attrs={F1} fg=rgb(240,240,240) bg=rgb(0,0,0)
29 29
30 !Foreground 30 !Foreground
31 PUSH "\e[31mG\e[m" 31 PUSH "\e[31mG\e[m"
32 ?screen_cell 0,6 = {0x47} width=1 attrs={} fg=rgb(224,0,0) bg=rgb(0,0,0) 32 ?screen_cell 0,6 = {0x47} width=1 attrs={} fg=idx(1) bg=rgb(0,0,0)
33 33
34 !Background 34 !Background
35 PUSH "\e[42mH\e[m" 35 PUSH "\e[42mH\e[m"
36 ?screen_cell 0,7 = {0x48} width=1 attrs={} fg=rgb(240,240,240) bg=rgb(0,224,0) 36 ?screen_cell 0,7 = {0x48} width=1 attrs={} fg=rgb(240,240,240) bg=idx(2)
37 37
38 !EL sets reverse and colours to end of line 38 !EL sets reverse and colours to end of line
39 PUSH "\e[H\e[7;33;44m\e[K" 39 PUSH "\e[H\e[7;33;44m\e[K"
40 ?screen_cell 0,0 = {} width=1 attrs={R} fg=rgb(224,224,0) bg=rgb(0,0,224) 40 ?screen_cell 0,0 = {} width=1 attrs={R} fg=idx(3) bg=idx(4)
41 ?screen_cell 0,79 = {} width=1 attrs={R} fg=rgb(224,224,0) bg=rgb(0,0,224) 41 ?screen_cell 0,79 = {} width=1 attrs={R} fg=idx(3) bg=idx(4)
42 42
43 !DECSCNM xors reverse for entire screen 43 !DECSCNM xors reverse for entire screen
44 PUSH "\e[?5h" 44 PUSH "\e[?5h"
45 ?screen_cell 0,0 = {} width=1 attrs={} fg=rgb(224,224,0) bg=rgb(0,0,224) 45 ?screen_cell 0,0 = {} width=1 attrs={} fg=idx(3) bg=idx(4)
46 ?screen_cell 0,79 = {} width=1 attrs={} fg=rgb(224,224,0) bg=rgb(0,0,224) 46 ?screen_cell 0,79 = {} width=1 attrs={} fg=idx(3) bg=idx(4)
47 ?screen_cell 1,0 = {} width=1 attrs={R} fg=rgb(240,240,240) bg=rgb(0,0,0) 47 ?screen_cell 1,0 = {} width=1 attrs={R} fg=rgb(240,240,240) bg=rgb(0,0,0)
48 PUSH "\e[?5\$p" 48 PUSH "\e[?5\$p"
49 output "\e[?5;1\$y" 49 output "\e[?5;1\$y"
50 PUSH "\e[?5l" 50 PUSH "\e[?5l"
51 ?screen_cell 0,0 = {} width=1 attrs={R} fg=rgb(224,224,0) bg=rgb(0,0,224) 51 ?screen_cell 0,0 = {} width=1 attrs={R} fg=idx(3) bg=idx(4)
52 ?screen_cell 0,79 = {} width=1 attrs={R} fg=rgb(224,224,0) bg=rgb(0,0,224) 52 ?screen_cell 0,79 = {} width=1 attrs={R} fg=idx(3) bg=idx(4)
53 ?screen_cell 1,0 = {} width=1 attrs={} fg=rgb(240,240,240) bg=rgb(0,0,0) 53 ?screen_cell 1,0 = {} width=1 attrs={} fg=rgb(240,240,240) bg=rgb(0,0,0)
54 PUSH "\e[?5\$p" 54 PUSH "\e[?5\$p"
55 output "\e[?5;2\$y" 55 output "\e[?5;2\$y"