diff --git a/src/screen.c b/src/screen.c
index 2d8ab6a955782c69ce62d8dc4c048b9b40213a39..64c704b4902ebc8589c8ffb3962c1078926be215 100644 (file)
--- a/src/screen.c
+++ b/src/screen.c
{
MEVENT event;
- /* retrieve the mouse event from ncurses */
+ /* retrieve the mouse event from curses */
+#ifdef PDCURSES
+ nc_getmouse(&event);
+#else
getmouse(&event);
+#endif
/* calculate the selected row in the list window */
*row = event.y - screen.title_bar.window.rows;
/* copy button state bits */