mirror of
https://github.com/neovim/neovim.git
synced 2026-07-21 00:21:38 +00:00
feat(tui): restore 'ttyfast' to control tty requests #38699
Problem: When running nvim on a remote machine over SSH, if there is high ping, then bg detection may not complete in time. This results in a warning every time nvim is started. #38648 Solution: Restore 'ttyfast' option and allow it to control whether or not bg detection is performed. Because this is during startup and before any user config or commands, we use the environment variable `NVIM_NOTTYFAST` to allow disabling `ttyfast` during initialization.
This commit is contained in:
@@ -455,6 +455,7 @@ local options_list = {
|
||||
{ 'busy', N_ 'buffer is busy' },
|
||||
{ 'termpastefilter', N_ 'characters removed when pasting into terminal window' },
|
||||
{ 'scrollback', N_ 'number of lines kept beyond the visible screen in terminal buffer' },
|
||||
{ 'ttyfast', N_ 'assume terminal responds quickly, enabling more features' },
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user