handle weird contour reply to CSI 11 #1780

pull/1785/head
nick black 3 years ago
parent 7d0375f8e0
commit 9950d71e89
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -811,6 +811,13 @@ pump_control_read(init_state* inits, unsigned char c){
}
break;
case STATE_BGSEMI: // drain string
if(c == '\x07'){ // contour sends this at the end for some unknown reason
if(stash_string(inits)){
return -1;
}
inits->state = STATE_NULL;
break;
}
inits->numeric = c;
if(ruts_string(inits, STATE_BG1)){
return -1;

Loading…
Cancel
Save