mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 23:48:32 +00:00
fix(tui): do not set ui_client_termname if it is already set (#21607)
It is fine to initialize ui_client_termname to NULL as it is only used after tui_start().
This commit is contained in:
@@ -34,7 +34,7 @@ EXTERN TriState ui_client_bg_respose INIT(= kNone);
|
||||
/// by convention, this uses fd=3 (next free number after stdio)
|
||||
EXTERN bool ui_client_forward_stdin INIT(= false);
|
||||
|
||||
EXTERN char *ui_client_termname INIT(= "null");
|
||||
EXTERN char *ui_client_termname INIT(= NULL);
|
||||
|
||||
#define UI_CLIENT_STDIN_FD 3
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
|
Reference in New Issue
Block a user