Merge branch 'master' of github.com:dankamongmen/notcurses

This commit is contained in:
nick black 2020-02-29 23:16:40 -05:00
commit 3db9397df4
2 changed files with 4 additions and 8 deletions

View File

@ -292,10 +292,8 @@ struct ncplane* notcurses_top(struct notcurses* n);
void notcurses_drop_planes(struct notcurses* nc); void notcurses_drop_planes(struct notcurses* nc);
// Refresh our idea of the terminal's dimensions, reshaping the standard plane // Refresh our idea of the terminal's dimensions, reshaping the standard plane
// if necessary. Without a call to this function following a terminal resize // if necessary, without a fresh render. References to ncplanes (and the
// (as signaled via SIGWINCH), notcurses_render() might not function properly. // egcpools underlying cells) remain valid following a resize operation.
// References to ncplanes (and the egcpools underlying cells) remain valid
// following a resize operation, but the cursor might have changed position.
int notcurses_resize(struct notcurses* n, int* restrict y, int* restrict x); int notcurses_resize(struct notcurses* n, int* restrict y, int* restrict x);
// Return our current idea of the terminal dimensions in rows and cols. // Return our current idea of the terminal dimensions in rows and cols.

View File

@ -334,10 +334,8 @@ API int notcurses_mouse_disable(struct notcurses* n);
API bool ncplane_mouseevent_p(const struct ncplane* n, const struct ncinput *ni); API bool ncplane_mouseevent_p(const struct ncplane* n, const struct ncinput *ni);
// Refresh our idea of the terminal's dimensions, reshaping the standard plane // Refresh our idea of the terminal's dimensions, reshaping the standard plane
// if necessary. Without a call to this function following a terminal resize // if necessary, without a fresh render. References to ncplanes (and the
// (as signaled via SIGWINCH), notcurses_render() might not function properly. // egcpools underlying cells) remain valid following a resize operation.
// References to ncplanes (and the egcpools underlying cells) remain valid
// following a resize operation, but the cursor might have changed position.
API int notcurses_resize(struct notcurses* n, int* RESTRICT y, int* RESTRICT x); API int notcurses_resize(struct notcurses* n, int* RESTRICT y, int* RESTRICT x);
// Refresh the physical screen to match what was last rendered (i.e., without // Refresh the physical screen to match what was last rendered (i.e., without