diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-12-16 00:38:58 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-12-16 10:31:13 +0100 |
commit | bfb21f3e012d9473d6038dd254fc3a0ecdf8c0e9 (patch) | |
tree | 58022b5b9585e71a68d7b831e00565327331071c /scripts/gen_api_vimdoc.py | |
parent | 7afd26a6d189d1ca798f93db8661bd656a37265f (diff) | |
download | rneovim-bfb21f3e012d9473d6038dd254fc3a0ecdf8c0e9.tar.gz rneovim-bfb21f3e012d9473d6038dd254fc3a0ecdf8c0e9.tar.bz2 rneovim-bfb21f3e012d9473d6038dd254fc3a0ecdf8c0e9.zip |
tui: rework deferred-termcodes ... again
- Revert timer-based approach.
- Instead, call loop_poll_events() with a timeout in an "active" loop,
to infer that "TUI startup activity has mostly finished", but also to
enforce a mininum time (100 ms) before emitting "enable focus
reporting" termcode. (If TUI startup takes longer than that minimum
time, it's probably a slow environment anyways.)
- Tickle `main_loop` by sending a dummy event. Without this, the
initial "focus-gained" response from the terminal may not get
processed until the user hits a key.
ref #7720
ref #7664
ref #7649
ref #7664
ref 27f9b1c7b029d8
Diffstat (limited to 'scripts/gen_api_vimdoc.py')
0 files changed, 0 insertions, 0 deletions