notcurses_debug: emit no more than 79 columns per line

pull/1573/head
nick black 3 years ago
parent 8f2398132c
commit 4d0ea5e6b5
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -63,7 +63,7 @@ ncpile_debug(const ncpile* p, FILE* debugfp){
const ncplane* prev = NULL;
int planeidx = 0;
while(n){
fprintf(debugfp, "%04d off y: %3d x: %3d geom y: %3d x: %3d curs y: %3d x: %3d %p %.8s\n",
fprintf(debugfp, "%04d off y: %3d x: %3d geom y: %3d x: %3d curs y: %3d x: %3d %p %.7s\n",
planeidx, n->absy, n->absx, n->leny, n->lenx, n->y, n->x, n, n->name);
if(n->boundto || n->bnext || n->bprev || n->blist){
fprintf(debugfp, " bound %p ← %p → %p binds %p\n",

Loading…
Cancel
Save