mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-19 23:14:55 +02:00
Fix handling of empty SGR code
Was broken by refactoring to support colons in SGR codes
This commit is contained in:
@@ -482,6 +482,10 @@ parse_sgr(Screen *screen, uint32_t *buf, unsigned int num, unsigned int *params,
|
||||
}
|
||||
}
|
||||
switch(state) {
|
||||
case START:
|
||||
params[num_params++] = 0;
|
||||
SEND_SGR;
|
||||
break;
|
||||
case COLOR1:
|
||||
case COLOR3:
|
||||
case NORMAL:
|
||||
|
||||
Reference in New Issue
Block a user