A couple users have used yakui with windowing systems other than winit and run into the default surface size being 1x1 yielding funny results. We should improve our feedback that yakui gives when the size never initialized.
I can think of a couple good options:
Accept a surface size in Yakui::new. This offloads a bit of finagling onto the user to get a size from their windowing library into the right type.
Track whether a size has been set and log a warning for the user. This might be buried if we use log, or it might be intrusive if we use something else.
A couple users have used yakui with windowing systems other than winit and run into the default surface size being 1x1 yielding funny results. We should improve our feedback that yakui gives when the size never initialized.
I can think of a couple good options:
Yakui::new
. This offloads a bit of finagling onto the user to get a size from their windowing library into the right type.log
, or it might be intrusive if we use something else.