home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6e5be9a
)
Improved error description in windows library.
author
Christian Heller
<c.heller@plomlompom.de>
Mon, 26 Aug 2013 16:12:25 +0000
(18:12 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Mon, 26 Aug 2013 16:12:25 +0000
(18:12 +0200)
src/windows.h
patch
|
blob
|
history
diff --git
a/src/windows.h
b/src/windows.h
index 2828e0739421a038aad28885fc3215067a1cf88e..a8783fe2563ea1497afe7994378f723e8f18ac53 100644
(file)
--- 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
*
* 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)
*
* 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)
* 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.
*
*
* TODO: Expose less internals to the API.
*