Skip to content

Commit

Permalink
[automaton] handle broken contour palette replies #2539
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Jan 8, 2022
1 parent 949925e commit db6b5af
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib/in.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit db6b5af

Please sign in to comment.