mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-08 01:10:23 +00:00
[notcurses-input] use ncplane_resize_realign for the plot
This commit is contained in:
parent
952e4eaeb2
commit
1d316273d2
@ -263,7 +263,7 @@ int input_demo(ncpp::NotCurses* nc) {
|
|||||||
.cols = PLOTWIDTH,
|
.cols = PLOTWIDTH,
|
||||||
.userptr = nullptr,
|
.userptr = nullptr,
|
||||||
.name = "plot",
|
.name = "plot",
|
||||||
.resizecb = nullptr, // FIXME
|
.resizecb = ncplane_resize_realign,
|
||||||
.flags = NCPLANE_OPTION_HORALIGNED,
|
.flags = NCPLANE_OPTION_HORALIGNED,
|
||||||
.margin_b = 0,
|
.margin_b = 0,
|
||||||
.margin_r = 0,
|
.margin_r = 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user