tests: fix selection_simple to force rendering

This commit is contained in:
Boris Faure 2019-02-10 23:54:37 +01:00
parent 8533d8d042
commit aa9e74d401
1 changed files with 12 additions and 1 deletions

View File

@ -15,15 +15,26 @@ printf '\033}tm;48;10\0'
# mouse up
printf '\033}tu;48;10;1;0;0\0'
# force render
printf '\033}tr\0'
# selection is 'EEEEE'
printf '\033}tiEEEEE\0'
# insert E in color
printf '\033[;4HE'
# force render
printf '\033}tr\0'
# selection is 'EEEEE'
printf '\033}tiEEEEE\0'
# insert a
printf 'a'
# force render
printf '\033}tr\0'
# no more selection
printf '\033}tn'
printf '\033}tn\0'