Skip to content
forked from neovim/neovim

Commit

Permalink
Merge pull request neovim#19023 from neovim/backport-18932-to-release…
Browse files Browse the repository at this point in the history
…-0.7

[Backport release-0.7] fix(tui): fix piping output make nvim unusable
  • Loading branch information
clason committed Jun 19, 2022
2 parents d784474 + 18e0d64 commit 38928b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nvim/ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ void ui_flush(void)
api_free_array(style);
pending_mode_info_update = false;
}
if (pending_mode_update) {
if (pending_mode_update && !starting) {
char *full_name = shape_table[ui_mode_idx].full_name;
ui_call_mode_change(cstr_as_string(full_name), ui_mode_idx);
pending_mode_update = false;
Expand Down

0 comments on commit 38928b5

Please sign in to comment.