Skip to content
forked from neovim/neovim

Commit

Permalink
fix(tui): fix piping output make nvim unusable
Browse files Browse the repository at this point in the history
fix(tui): fix piping output make nvim unusable

(cherry picked from commit 72ce1f3)
  • Loading branch information
KevinSJ authored and github-actions[bot] committed Jun 19, 2022
1 parent d784474 commit 18e0d64
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 18e0d64

Please sign in to comment.