mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Work around PDCurses/ncurses differences.
This commit is contained in:
parent
9ed5dfd904
commit
801a1405c6
@ -63,9 +63,14 @@ static std::shared_ptr<INavigationKeys> keys;
|
||||
however, something changed internally that causes the drawing to get corrupted
|
||||
if we don't call wbkgdset() first. this looks like a bug, and the release notes
|
||||
mention wbkgd() was changed, but it's unclear what exactly happened... */
|
||||
#define wbkgd_internal(window, color) \
|
||||
wbkgdset(window, color); \
|
||||
wbkgd(window, color);
|
||||
#ifndef WIN32
|
||||
#define wbkgd_internal(window, color) \
|
||||
wbkgdset(window, color); \
|
||||
wbkgd(window, color);
|
||||
#else
|
||||
#define wbkgd_internal(window, color) \
|
||||
wbkgd(window, color);
|
||||
#endif
|
||||
|
||||
static inline void DrawCursor(IInput* input) {
|
||||
if (input) {
|
||||
|
Loading…
Reference in New Issue
Block a user