mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
[ncls] emit a newline following each image
This commit is contained in:
parent
f658629a1b
commit
b8ab28c60f
@ -420,7 +420,7 @@ write_sixel_data(FILE* fp, int lenx, sixeltable* stab){
|
||||
// \x90: 8-bit "device control sequence", lowercase q (start sixel)
|
||||
// doesn't seem to work with at least xterm; we instead use '\ePq'
|
||||
// FIXME i think we can print DESDM on the first one, and never again
|
||||
fprintf(fp, "\e[?80h\ePq");
|
||||
//fprintf(fp, "\e[?80h\ePq");
|
||||
|
||||
// Set Raster Attributes - pan/pad=1 (pixel aspect ratio), Ph=lenx, Pv=leny
|
||||
// using Ph/Pv causes a background to be drawn using color register 0 for all
|
||||
|
@ -153,6 +153,7 @@ void ncls_thread(const lsContext* ctx) {
|
||||
if(faken){
|
||||
ctx->nc.raster_image(faken, ctx->alignment);
|
||||
}
|
||||
std::cout << '\n';
|
||||
pthread_mutex_unlock(&outmtx);
|
||||
}else if(!keep_working){
|
||||
pthread_mutex_unlock(&mtx);
|
||||
|
Loading…
x
Reference in New Issue
Block a user