summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2022-12-19 23:40:11 +0100
committerpgen <p.gen.progs@gmail.com>2022-12-19 23:40:11 +0100
commit3a493768510f967181202961a12eacdf2e81a9e9 (patch)
treedb57eedbab4db1e8a4af0bee97e947b8104cbb8f /tests
parent97636e2074c90f2388643a5613b6c4effdd92aa7 (diff)
Add a Z command to tag a delimited zone of words
Make sure that the use of CTRL+right mouse button uses the same code when the mouse is usable.
Diffstat (limited to 'tests')
-rw-r--r--tests/tagging/t0024.good39
l---------tests/tagging/t0024.in1
-rw-r--r--tests/tagging/t0024.tst4
3 files changed, 44 insertions, 0 deletions
diff --git a/tests/tagging/t0024.good b/tests/tagging/t0024.good
new file mode 100644
index 0000000..861e8eb
--- /dev/null
+++ b/tests/tagging/t0024.good
@@ -0,0 +1,39 @@
+$ OUT=$(smenu -P -c -n 15 t0024.in)
+
+1 2 3 4 5 6 7
+
+8 9 10 11 12 13 14
+0:04 1:04 3:04 4:04 5:04 7:04 8:04 10:04 11:04 13:04 14:04 16:04 17:04 19:04 20:04
+15 16 17 18 19 20 21
+0:04 1:04 3:04 4:04 5:04 7:04 8:04 10:04 11:04 13:04 14:04 16:04 17:04 19:04 20:04
+22 23 24 25 26 27 28
+0:04 1:04 3:04 4:04 5:04 7:04 8:04 10:04 11:04 13:04 14:04 16:04 17:04 19:04 20:04
+29 30 31 32 33 34 35
+0:0407 1:0407 3:04 4:04 5:04
+36 37 38 39 40 41 42
+
+43 44 45 46 47 48 49
+
+50 51 52 53 54 55 56
+
+57 58 59 60 61 62 63
+
+64 65 66 67 68 69 70
+
+71 72 73 74 75 76 77
+
+78 79 80 81 82 83 84
+
+85 86 87 88 89 90 91
+
+92 93 94 95 96 97 98
+
+99 100
+
+$
+
+$ echo ":$OUT:"
+
+:8 15 22 29 30 23 16 9 10 11 12 13 14 17 18 19 20 21 24 25 26 27 28:
+
+$ exit 0
diff --git a/tests/tagging/t0024.in b/tests/tagging/t0024.in
new file mode 120000
index 0000000..488d13d
--- /dev/null
+++ b/tests/tagging/t0024.in
@@ -0,0 +1 @@
+data4 \ No newline at end of file
diff --git a/tests/tagging/t0024.tst b/tests/tagging/t0024.tst
new file mode 100644
index 0000000..1701e0b
--- /dev/null
+++ b/tests/tagging/t0024.tst
@@ -0,0 +1,4 @@
+\S[150]\s[10]OUT=$(smenu -P -c -n 15 t0024.in)
+\S[150]\s[50]jZjjjZlZkkkZlZjjjhhZ\r
+\S[150]\s[10]echo ":$\s[10]OUT:"
+exit 0