Skip to content

Commit

Permalink
fresh pdcursesmod supports wgetparent
Browse files Browse the repository at this point in the history
  • Loading branch information
okbob committed Sep 30, 2023
1 parent 2b5c6de commit 1e0028d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/st_curses.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

#ifdef PDCURSES
/* Add some APIs that are part of ncurses but not pdcurses */
#ifndef __PDCURSESMOD__
#define wgetparent(win) ((WINDOW*)win->_parent);
#endif
#endif

0 comments on commit 1e0028d

Please sign in to comment.