view src/libvterm/t/67screen_dbl_wh.test @ 20452:bf530e4e910a v8.2.0780

patch 8.2.0780: libvterm code lags behind the upstream version Commit: https://github.com/vim/vim/commit/2d2970ea599e83acabee56be548a54a8e6b21007 Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 17 16:29:47 2020 +0200 patch 8.2.0780: libvterm code lags behind the upstream version Problem: Libvterm code lags behind the upstream version. Solution: Include revisions 724 - 726.
author Bram Moolenaar <Bram@vim.org>
date Sun, 17 May 2020 16:30:04 +0200
parents src/libvterm/t/47screen_dbl_wh.test@b8299e742f41
children d0bf39eb2b07
line wrap: on
line source

INIT
WANTSCREEN

RESET

!Single Width, Single Height
RESET
PUSH "\e#5"
PUSH "abcde"
  ?screen_cell 0,0 = {0x61} width=1 attrs={} fg=rgb(240,240,240) bg=rgb(0,0,0)

!Double Width, Single Height
RESET
PUSH "\e#6"
PUSH "abcde"
  ?screen_cell 0,0 = {0x61} width=1 attrs={} dwl fg=rgb(240,240,240) bg=rgb(0,0,0)

!Double Height
RESET
PUSH "\e#3"
PUSH "abcde"
PUSH "\r\n\e#4"
PUSH "abcde"
  ?screen_cell 0,0 = {0x61} width=1 attrs={} dwl dhl-top fg=rgb(240,240,240) bg=rgb(0,0,0)
  ?screen_cell 1,0 = {0x61} width=1 attrs={} dwl dhl-bottom fg=rgb(240,240,240) bg=rgb(0,0,0)

!Late change
RESET
PUSH "abcde"
  ?screen_cell 0,0 = {0x61} width=1 attrs={} fg=rgb(240,240,240) bg=rgb(0,0,0)
PUSH "\e#6"
  ?screen_cell 0,0 = {0x61} width=1 attrs={} dwl fg=rgb(240,240,240) bg=rgb(0,0,0)