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
5d2f923fcf
commit
a282d06a67
@ -362,6 +362,10 @@ static void set_highlight_args(int mask)
|
|||||||
|
|
||||||
static void parse_abstract_ui_codes(uint8_t *ptr, int len)
|
static void parse_abstract_ui_codes(uint8_t *ptr, int len)
|
||||||
{
|
{
|
||||||
|
if (!ui_count) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
int arg1 = 0, arg2 = 0;
|
int arg1 = 0, arg2 = 0;
|
||||||
uint8_t *end = ptr + len, *p, c;
|
uint8_t *end = ptr + len, *p, c;
|
||||||
bool update_cursor = false;
|
bool update_cursor = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user