diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-06-04 09:14:45 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-06-04 09:14:45 +0200 |
commit | 58f505dc7432cad76269ee447029eb1ad94b5aeb (patch) | |
tree | 2f4e2176d828c8caeacef2b3bb5db187564a8bf5 /src/clint.py | |
parent | 16b1e8f9c070ad853c6c63b43591e297bf512662 (diff) | |
parent | 4719fdb3a44677cc1127624478f67a5316452aa0 (diff) | |
download | rneovim-58f505dc7432cad76269ee447029eb1ad94b5aeb.tar.gz rneovim-58f505dc7432cad76269ee447029eb1ad94b5aeb.tar.bz2 rneovim-58f505dc7432cad76269ee447029eb1ad94b5aeb.zip |
Merge #9829 'startup: remove TUI init special-case'
fixes #7967
fixes #9959
Historically Vim/Nvim does backflips to handle input and show messages
before a UI is available. This logical contradiction was already fixed
for remote UIs (#9024 c236e80cf3df). Fixing it also for the TUI avoids
problems on Windows, simplifies the logic, and avoids races like #9959.
- Move ui_builtin_start() to the same position as embedded_mode
remote_ui_wait_for_attach().
- If stdin is redirected, save the original `stdin` and replace fd
0 with tty before calling `ui_builtin_start()`.
Diffstat (limited to 'src/clint.py')
0 files changed, 0 insertions, 0 deletions