mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
tui: Don't use stderr as an output fallback for the TUI
Ref: https://github.com/neovim/neovim/issues/3547#issuecomment-152156639
This commit is contained in:
parent
7e8b431d3f
commit
c2185833e8
@ -120,8 +120,7 @@ static void terminfo_start(UI *ui)
|
||||
data->unibi_ext.enter_insert_mode = -1;
|
||||
data->unibi_ext.enter_replace_mode = -1;
|
||||
data->unibi_ext.exit_insert_mode = -1;
|
||||
// write output to stderr if stdout is not a tty
|
||||
data->out_fd = os_isatty(1) ? 1 : (os_isatty(2) ? 2 : 1);
|
||||
data->out_fd = 1;
|
||||
data->out_isatty = os_isatty(data->out_fd);
|
||||
// setup unibilium
|
||||
data->ut = unibi_from_env();
|
||||
|
Loading…
Reference in New Issue
Block a user