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

pull/396/head
nick black 5 years ago
commit 3db9397df4

@ -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.

@ -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

Loading…
Cancel
Save