query_sixel(): function even on slack st #200

pull/1377/head
nick black 3 years ago committed by Nick Black
parent 09a3411b48
commit bf639e3f7d

@ -196,6 +196,8 @@ query_sixel(tinfo* ti, int fd){
return -1;
}
char in;
// perhaps the most lackadaisical response is that of st, which returns a
// bare ESC[?6c (note no semicolon).
enum {
WANT_CSI,
WANT_QMARK,
@ -218,6 +220,8 @@ query_sixel(tinfo* ti, int fd){
case WANT_SEMI:
if(in == ';'){
state = WANT_C;
}else if(in == 'c'){
state = DONE;
}
break;
case WANT_C:

Loading…
Cancel
Save