billiob pushed a commit to branch terminology-1.5. http://git.enlightenment.org/apps/terminology.git/commit/?id=28bc0c8cf09c37571e3018d2aea5c368d2e1882c
commit 28bc0c8cf09c37571e3018d2aea5c368d2e1882c Author: Boris Faure <bill...@gmail.com> Date: Mon Sep 2 22:37:35 2019 +0200 add test about bug fixed in e33d07f49244bb75a8690cc4eb761acbe6e16d4b --- tests/selection_in_history.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tests/selection_in_history.sh b/tests/selection_in_history.sh index 383ec36..1f20739 100755 --- a/tests/selection_in_history.sh +++ b/tests/selection_in_history.sh @@ -140,3 +140,19 @@ printf '\033}ts%s\0' "$TEXT" # remove selection printf '\033}td;0;0;1;0;0\0\033}tu;0;0;1;0;0\0' printf '\033}tr\0\033}tn\0' + +## empty selection +# mouse down to start selection +printf '\033}td;35;320;1;0;0\0' +# mouse move +printf '\033}tm;35;305;0\0' +# mouse up +printf '\033}tu;35;305;1;0;0\0' +# force render +printf '\033}tr\0' +# selection is +printf '\033}ts\n4\n\0' + +# remove selection +printf '\033}td;0;0;1;0;0\0\033}tu;0;0;1;0;0\0' +printf '\033}tr\0\033}tn\0' --