view src/testdir/test69.ok @ 12154:71e10b81226d v8.0.0957

patch 8.0.0957: a terminal job can deadlock when sending many keys commit https://github.com/vim/vim/commit/97bd5e6527bf2b48acdd1550acba161e82a5bc99 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 18 20:50:30 2017 +0200 patch 8.0.0957: a terminal job can deadlock when sending many keys Problem: When term_sendkeys() sends many keys it may get stuck in writing to the job. Solution: Make the write non-blocking, buffer keys to be sent.
author Christian Brabandt <cb@256bit.org>
date Fri, 18 Aug 2017 21:00:05 +0200
parents 238f5027830c
children 1090d6637cfd
line wrap: on
line source

Results of test69:


{
XYZ
abc
XYZ

XYZ
abc
XYZ
}


{


a

a







a

a




}


{


a

a




a

ab

abc

ab

c
ab





a

a




a

ab

abc

ab

c
ab


}


{


  a



  a
}


{


a



a
}


{

Xa
Xa
XY
XY
XY
XZ
X Y
X Y
X Z
XX
XXa
XXY


Xa
Xa
XY
XY
XY
XZ
X Y
X Y
X Z
XX
XXa
XXY
}


{

a
}


{
 four
}

ra test
aaaa
aaa


áx


byteidx
[0, 1, 3, 4, -1]
[0, 1, 4, 5, -1]
byteidxcomp
[0, 1, 3, 4, -1]
[0, 1, 2, 4, 5, -1]


substitute
a1a2a3a