annotate src/libvterm/t/40state_selection.test @ 30251:0288baaedf91 v9.0.0461

patch 9.0.0461: 'scroll' is not always updated Commit: https://github.com/vim/vim/commit/470a14140bc06f1653edf26ab0b3c9b801080353 Author: Luuk van Baal <luukvbaal@gmail.com> Date: Wed Sep 14 01:27:23 2022 +0100 patch 9.0.0461: 'scroll' is not always updated Problem: 'scroll' is not always updated. Solution: Call win_init_size() at the right place.
author Bram Moolenaar <Bram@vim.org>
date Wed, 14 Sep 2022 02:30:03 +0200
parents f93337ae0612
children b13f723a7ec6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26270
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 INIT
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 UTF8 1
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 WANTSTATE
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 !Set clipboard; final chunk len 4
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 PUSH "\e]52;c;SGVsbG8s\e\\"
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 selection-set mask=0001 ["Hello,"]
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 !Set clipboard; final chunk len 3
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 PUSH "\e]52;c;SGVsbG8sIHc=\e\\"
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 selection-set mask=0001 ["Hello, w"]
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 !Set clipboard; final chunk len 2
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 PUSH "\e]52;c;SGVsbG8sIHdvcmxkCg==\e\\"
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 selection-set mask=0001 ["Hello, world\n"]
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17 !Set clipboard; split between chunks
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 PUSH "\e]52;c;SGVs"
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19 selection-set mask=0001 ["Hel"
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20 PUSH "bG8s\e\\"
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21 selection-set mask=0001 "lo,"]
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
22
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23 !Set clipboard; split within chunk
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
24 PUSH "\e]52;c;SGVsbG"
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
25 selection-set mask=0001 ["Hel"
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
26 PUSH "8s\e\\"
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
27 selection-set mask=0001 "lo,"]
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
28
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
29 !Query clipboard
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
30 PUSH "\e]52;c;?\e\\"
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
31 selection-query mask=0001
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
32
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
33 !Send clipboard; final chunk len 4
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
34 SELECTION 1 ["Hello,"]
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
35 output "\e]52;c;SGVsbG8s\e\\"
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
36
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
37 !Send clipboard; final chunk len 3
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
38 SELECTION 1 ["Hello, w"]
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
39 output "\e]52;c;SGVsbG8sIHc=\e\\"
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
40
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
41 !Send clipboard; final chunk len 2
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
42 SELECTION 1 ["Hello, world\n"]
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
43 output "\e]52;c;SGVsbG8sIHdvcmxkCg==\e\\"
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
44
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
45 !Send clipboard; split between chunks
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
46 SELECTION 1 ["Hel"
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
47 output "\e]52;c;SGVs"
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
48 SELECTION 1 "lo,"]
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
49 output "bG8s\e\\"
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
50
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
51 !Send clipboard; split within chunk
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
52 SELECTION 1 ["Hello"
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
53 output "\e]52;c;SGVs"
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
54 SELECTION 1 ","]
f93337ae0612 patch 8.2.3666: libvterm is outdated
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
55 output "bG8s\e\\"