[notcurses-input] use ncplane_resize_realign for the plot

This commit is contained in:
nick black 2021-11-17 05:37:17 -05:00
parent 952e4eaeb2
commit 1d316273d2
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

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