diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-12-01 04:18:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-01 04:18:34 +0100 |
commit | 27f9b1c7b029d8f61723fd261bed76ea7a01e68d (patch) | |
tree | ccca56a4d621f0ff534662f06d7d010fa27b6dad /scripts/check-includes.py | |
parent | 3d0ee17c916eca85ee28b8e716b6203f6d7fbf1c (diff) | |
download | rneovim-27f9b1c7b029d8f61723fd261bed76ea7a01e68d.tar.gz rneovim-27f9b1c7b029d8f61723fd261bed76ea7a01e68d.tar.bz2 rneovim-27f9b1c7b029d8f61723fd261bed76ea7a01e68d.zip |
tui: emit some termcodes later (after startup) (#7664)
For some reason, enabling focus reporting during terminal setup, causes
slow rendering during Nvim startup on tmux 2.3 with the tmux
`focus-events` option enabled.
To workaround that issue, this commit defers the request.
closes #7649
init.vim:
call plug#begin('~/.config/nvim/plugged')
Plug 'morhetz/gruvbox'
call plug#end()
set background=light " background light just to see the effect more quickly
colorscheme gruvbox
.tmux.conf:
set -g focus-events on
set-option -ga terminal-overrides ",xterm-256color:Tc"
set-option -g default-terminal "screen-256color"
Using `script` to record the terminal session (and `vterm-dump` to
post-process the result):
BEFORE this commit:
./build/bin/nvim -u NONE{CR}{LF}
{DECSM 1049}{DECSM 1}{ESC =}
{CUP *}{ED 2}{DECSM 2004}{DECSM 1004}{CSI 8,44,156 t}{CSI * r}
{CUP 1,1}
{CUP *}{ED 2}{DECSM 25}
{DECRM 25}{CSI 2 q}{CSI 2 q}
{CUP *}{ED 2}{LF}
{ESC (B}{SGR *}{SGR 94}~ {CR}{LF}
~ {CR}{LF}
AFTER this commit:
./build/bin/nvim -u NONE{CR}{LF}
{DECSM 1049}{DECSM 1}{ESC =}
{CUP *}{ED 2}{CSI 8,44,156 t}{CSI * r}
{CUP 1,1}
{CUP *}{ED 2}{DECSM 2004}{DECSM 1004}{DECSM 25}
{DECRM 25}{CSI 2 q}{CSI 2 q}
{CUP *}{ED 2}{LF}
{ESC (B}{SGR *}{SGR 94}~ {CR}{LF}
~ {CR}{LF}
...
Diffstat (limited to 'scripts/check-includes.py')
0 files changed, 0 insertions, 0 deletions