patch 8.0.0957: a terminal job can deadlock when sending many keys v8.0.0957
authorBram Moolenaar <Bram@vim.org>
Fri, 18 Aug 2017 18:50:30 +0000 (20:50 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 18 Aug 2017 18:50:30 +0000 (20:50 +0200)
commit97bd5e6527bf2b48acdd1550acba161e82a5bc99
tree22b6437023669cf07961a5ac29490ea8d33e9340
parentcfce71710b6a2e1fb7f7f27d2a359e4b926f3af9
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.
src/channel.c
src/proto/channel.pro
src/structs.h
src/terminal.c
src/testdir/test_terminal.vim
src/version.c