cursor_move(-1,-1) while invalid is invalid #270

pull/273/head
nick black 5 years ago committed by Nick Black
parent fc039b034e
commit 7895d06273

@ -1034,6 +1034,9 @@ ncplane_cursor_move_yx_locked(ncplane* n, int y, int x){
}else{
n->y = y;
}
if(cursor_invalid_p(n)){
return -1;
}
return 0;
}

Loading…
Cancel
Save