[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,
.userptr = nullptr,
.name = "plot",
.resizecb = nullptr, // FIXME
.resizecb = ncplane_resize_realign,
.flags = NCPLANE_OPTION_HORALIGNED,
.margin_b = 0,
.margin_r = 0,