|
|
@ -102,8 +102,8 @@ drawcb(struct nctablet* t, bool drawfromtop){
|
|
|
|
if(ll){
|
|
|
|
if(ll){
|
|
|
|
const int summaryy = drawfromtop ? 0 : ll - 1;
|
|
|
|
const int summaryy = drawfromtop ? 0 : ll - 1;
|
|
|
|
ncplane_on_styles(p, NCSTYLE_BOLD);
|
|
|
|
ncplane_on_styles(p, NCSTYLE_BOLD);
|
|
|
|
if(ncplane_printf_yx(p, summaryy, 0, "[#%u %d lines %u available] ",
|
|
|
|
if(ncplane_printf_yx(p, summaryy, 0, "[#%u %d lines] ",
|
|
|
|
tctx->id, tctx->lines, maxy) < 0){
|
|
|
|
tctx->id, tctx->lines) < 0){
|
|
|
|
pthread_mutex_unlock(&tctx->lock);
|
|
|
|
pthread_mutex_unlock(&tctx->lock);
|
|
|
|
return -1;
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|