view src/libvterm/t/40state_selection.test @ 26480:cf986610be6a v8.2.3770

patch 8.2.3770: new compiler warnings from clang-12 and clang-13 Commit: https://github.com/vim/vim/commit/dee78e1ce857985c06ff18e20daeadfe1622b8ae Author: ichizok <gclient.gaap@gmail.com> Date: Thu Dec 9 21:08:01 2021 +0000 patch 8.2.3770: new compiler warnings from clang-12 and clang-13 Problem: New compiler warnings from clang-12 and clang-13. Solution: Adjust CI and suppress some warnings. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/9314)
author Bram Moolenaar <Bram@vim.org>
date Thu, 09 Dec 2021 22:15:03 +0100
parents f93337ae0612
children b13f723a7ec6
line wrap: on
line source

INIT
UTF8 1
WANTSTATE

!Set clipboard; final chunk len 4
PUSH "\e]52;c;SGVsbG8s\e\\"
  selection-set mask=0001 ["Hello,"]

!Set clipboard; final chunk len 3
PUSH "\e]52;c;SGVsbG8sIHc=\e\\"
  selection-set mask=0001 ["Hello, w"]

!Set clipboard; final chunk len 2
PUSH "\e]52;c;SGVsbG8sIHdvcmxkCg==\e\\"
  selection-set mask=0001 ["Hello, world\n"]

!Set clipboard; split between chunks
PUSH "\e]52;c;SGVs"
  selection-set mask=0001 ["Hel"
PUSH "bG8s\e\\"
  selection-set mask=0001 "lo,"]

!Set clipboard; split within chunk
PUSH "\e]52;c;SGVsbG"
  selection-set mask=0001 ["Hel"
PUSH "8s\e\\"
  selection-set mask=0001 "lo,"]

!Query clipboard
PUSH "\e]52;c;?\e\\"
  selection-query mask=0001

!Send clipboard; final chunk len 4
SELECTION 1 ["Hello,"]
  output "\e]52;c;SGVsbG8s\e\\"

!Send clipboard; final chunk len 3
SELECTION 1 ["Hello, w"]
  output "\e]52;c;SGVsbG8sIHc=\e\\"

!Send clipboard; final chunk len 2
SELECTION 1 ["Hello, world\n"]
  output "\e]52;c;SGVsbG8sIHdvcmxkCg==\e\\"

!Send clipboard; split between chunks
SELECTION 1 ["Hel"
  output "\e]52;c;SGVs"
SELECTION 1  "lo,"]
  output "bG8s\e\\"

!Send clipboard; split within chunk
SELECTION 1 ["Hello"
  output "\e]52;c;SGVs"
SELECTION 1 ","]
  output "bG8s\e\\"