regarding notcurses_refresh y & x parameters #1769
-
I can't find any information explaining their purpose or how they should be used. |
Beta Was this translation helpful? Give feedback.
Answered by
dankamongmen
Jun 15, 2021
Replies: 1 comment
-
If non- // Refresh the physical screen to match what was last rendered (i.e., without
// reflecting any changes since the last call to notcurses_render()). This is
// primarily useful if the screen is externally corrupted, or if an
// NCKEY_RESIZE event has been read and you're not yet ready to render. The
// current screen geometry is returned in 'y' and 'x', if they are not NULL.
API int notcurses_refresh(struct notcurses* n, int* RESTRICT y, int* RESTRICT x); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
joseluis
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If non-
NULL
, the (possibly updated) screen geometry is returned in these parameters. I've updated the inline documentation andUSAGE.md
to include this detail.