|
|
@ -1146,7 +1146,7 @@ int notcurses_stop(notcurses* nc){
|
|
|
|
// wrote. move it to the bottom left of the screen.
|
|
|
|
// wrote. move it to the bottom left of the screen.
|
|
|
|
if(!nc->tcache.smcup){
|
|
|
|
if(!nc->tcache.smcup){
|
|
|
|
tty_emit(tiparm(nc->tcache.hpa, 0), nc->ttyfd);
|
|
|
|
tty_emit(tiparm(nc->tcache.hpa, 0), nc->ttyfd);
|
|
|
|
tty_emit(tiparm(nc->tcache.vpa, nc->lfdimy - 1), nc->ttyfd);
|
|
|
|
tty_emit(tiparm(nc->tcache.vpa, nc->lfdimy + nc->margin_t - 1), nc->ttyfd);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(nc->ttyfd >= 0){
|
|
|
|
if(nc->ttyfd >= 0){
|
|
|
|
ret |= close(nc->ttyfd);
|
|
|
|
ret |= close(nc->ttyfd);
|
|
|
|