public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28f7fa8
)
curses: add missing getmaxyx and getbegyx
author
Alan Cox
<alan@linux.intel.com>
Fri, 13 Nov 2015 16:38:09 +0000
(16:38 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Fri, 13 Nov 2015 16:38:09 +0000
(16:38 +0000)
Library/include/curses.h
patch
|
blob
|
history
diff --git
a/Library/include/curses.h
b/Library/include/curses.h
index
b2f8355
..
5bceb18
100644
(file)
--- a/
Library/include/curses.h
+++ b/
Library/include/curses.h
@@
-68,6
+68,8
@@
typedef int bool;
#define wattroff(win, attrs) (win)->_attrs &= ~(attrs)
#define resetty() stty(1, &_orig_tty)
#define getyx(win,y,x) (y = (win)->_cury, x = (win)->_curx)
+#define getmaxyx(win,y,x) (y = (win)->_maxy, x = (win)->_maxx)
+#define getbegyx(win,y,x) (y = (win)->_begy, x = (win)->_begx)
/* Video attribute definitions. */
#define A_BLINK 0x0100