mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-06 03:20:26 +00:00
cursor_move(-1,-1) while invalid is invalid #270
This commit is contained in:
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…
Reference in New Issue
Block a user