mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-07-21 00:14:33 +00:00
Allow for opaque window structs. To Do: getattrs() isn't really
standard, either (although shared with ncurses).
This commit is contained in:
@@ -640,7 +640,7 @@ int weditstr(WINDOW *win, char *buf, int field)
|
||||
getbegyx(win, begy, begx);
|
||||
|
||||
wedit = subwin(win, 1, field, begy + cury, begx + curx);
|
||||
oldattr = wedit->_attrs;
|
||||
oldattr = getattrs(wedit);
|
||||
colorbox(wedit, EDITBOXCOLOR, 0);
|
||||
|
||||
keypad(wedit, TRUE);
|
||||
|
||||
Reference in New Issue
Block a user