terminate iTerm2 OSC with ST

pull/1937/head
nick black 3 years ago
parent b9b135af1a
commit 84a61d1476
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -50,6 +50,9 @@ write_iterm_graphic(sprixel* s, const void* data, int leny, int stride, int lenx
if(write_png_b64(data, leny, stride, lenx, fp)){
goto err;
}
if(ncfputs("\e\\", fp) == EOF){
goto err;
}
if(fclose(fp) == EOF){
logerror("Error flushing %zuB (%s)\n", s->glyphlen, strerror(errno));
free(s->glyph);

Loading…
Cancel
Save