X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fwindows.h;h=a8783fe2563ea1497afe7994378f723e8f18ac53;hb=951248dddace9f7cadcf30700a3c3e6ad7ae2888;hp=2828e0739421a038aad28885fc3215067a1cf88e;hpb=6e5be9a78c42a8ddfbdfba29c4df306a73bffe3c;p=plomrogue diff --git a/src/windows.h b/src/windows.h index 2828e07..a8783fe 100644 --- a/src/windows.h +++ b/src/windows.h @@ -9,7 +9,8 @@ * * Windows can be almost any width (number has to fit into 16 bits); the virtual * screen grows with them as needed -- but only horizontally and only up to 2^16 - * cells. Their height is limited by the height of the terminal screen. + * cells. Their height is limited by the height of the terminal screen, which + * must also fit into 2^16 cells. * * Positioning of windows can only indirectly be influenced: by resizing them, * and by shifting their relative position inside the (currently invisible) @@ -22,7 +23,7 @@ * Functions that return uint8_t return these error codes: * 0 - success * 1 - memory allocation error (of ncurses' pads/windows, or scroll hint texts) - * 2 - activity forces virtual screen to grow beyond width of 2^16 cells + * 2 - would force virtual screen to grow beyond width or height of 2^16 cells * * TODO: Expose less internals to the API. *