mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
[automaton] handle broken contour palette replies #2539
This commit is contained in:
parent
949925e1f7
commit
db6b5af77a
@ -1657,6 +1657,11 @@ build_cflow_automaton(inputctx* ictx){
|
||||
logerror("failed adding palette_cb");
|
||||
return -1;
|
||||
}
|
||||
// handle old-style contour responses, though we can't make use of them
|
||||
if(inputctx_add_cflow(&ictx->amata, "]4;rgb:\\S", palette_cb)){
|
||||
logerror("failed adding palette_cb");
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user