]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0850: MS-Windows: commands from a client can be lost v9.2.0850
authorHirohito Higashi <h.east.727@gmail.com>
Fri, 24 Jul 2026 20:20:54 +0000 (20:20 +0000)
committerChristian Brabandt <cb@256bit.org>
Fri, 24 Jul 2026 20:20:54 +0000 (20:20 +0000)
commitbf3547849ff1d554dcd58d0f8ec7a3debb6b8427
treea8e4540ea9b0250c4fe901904825c8eb8eab587f
parentea183ce4e5fb82d389e71f5de8f7564ee399d49c
patch 9.2.0850: MS-Windows: commands from a client can be lost

Problem:  On MS-Windows commands sent by a client in quick succession,
          e.g. repeated "--remote-tab", can be lost: the files are not
          all opened (eight)
Solution: In the GUI the client message is handled re-entrantly, e.g.
          while a command line is being read during a redraw. Inserting
          the received keys into the typeahead buffer then corrupts it.
          Postpone inserting the keys until a safe point where the
          typeahead buffer is empty (Hirohito Higashi).

fixes:  #20810
closes: #20816

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/gui_w32.c
src/os_mswin.c
src/proto/gui_w32.pro
src/version.c