fix(startup): avoid crash with completion from -l script (#32160)

Related #27764
This commit is contained in:
zeertzjq
2025-01-22 17:10:29 +08:00
committed by GitHub
parent a66f6add29
commit d46ebd2a74
3 changed files with 14 additions and 7 deletions

View File

@@ -360,7 +360,7 @@ int main(int argc, char **argv)
setbuf(stdout, NULL); // NOLINT(bugprone-unsafe-functions)
full_screen = !silent_mode || exmode_active;
full_screen = !silent_mode;
// Set the default values for the options that use Rows and Columns.
win_init_size();