mirror of
https://github.com/neovim/neovim.git
synced 2026-04-03 06:09:27 +00:00
fix(defaults): check for TUI on non-stdio channel on startup (#38581)
This commit is contained in:
@@ -781,7 +781,7 @@ do
|
||||
-- Check if a TTY is attached
|
||||
local tty = nil
|
||||
for _, ui in ipairs(vim.api.nvim_list_uis()) do
|
||||
if ui.chan == 1 and ui.stdout_tty then
|
||||
if ui.stdout_tty then
|
||||
tty = ui
|
||||
break
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user