mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
ui: Don't parse abstract_ui codes if there are no attached UIs
This commit is contained in:
parent
cba9162215
commit
abc147a977
@ -362,6 +362,10 @@ static void set_highlight_args(int mask)
|
||||
|
||||
static void parse_abstract_ui_codes(uint8_t *ptr, int len)
|
||||
{
|
||||
if (!ui_count) {
|
||||
return;
|
||||
}
|
||||
|
||||
int arg1 = 0, arg2 = 0;
|
||||
uint8_t *end = ptr + len, *p, c;
|
||||
bool update_cursor = false;
|
||||
|
Loading…
Reference in New Issue
Block a user