mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +00:00
handle weird contour reply to CSI 11 #1780
This commit is contained in:
parent
7d0375f8e0
commit
9950d71e89
@ -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…
Reference in New Issue
Block a user