fix(tui): remove duplicate disabling of synchronized output (#28884)

Synchronized output is enabled and disabled inside flush_buf().

(cherry picked from commit 47c741e30c)
This commit is contained in:
zeertzjq 2024-05-21 20:54:20 +08:00 committed by github-actions[bot]
parent 671073e714
commit 89f29fcc92

View File

@ -502,10 +502,6 @@ static void terminfo_stop(TUIData *tui)
// Disable focus reporting
unibi_out_ext(tui, tui->unibi_ext.disable_focus_reporting);
// Disable synchronized output
UNIBI_SET_NUM_VAR(tui->params[0], 0);
unibi_out_ext(tui, tui->unibi_ext.sync);
flush_buf(tui);
uv_tty_reset_mode();
uv_close((uv_handle_t *)&tui->output_handle, NULL);