summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 676828a)
raw | patch | inline | side by side (parent: 676828a)
author | Avuton Olrich <avuton@gmail.com> | |
Sun, 30 Oct 2011 04:30:12 +0000 (21:30 -0700) | ||
committer | Avuton Olrich <avuton@gmail.com> | |
Thu, 3 Nov 2011 11:08:32 +0000 (04:08 -0700) |
src/screen.c | patch | blob | history |
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 */