From 820bf424e48525594bd3cd71380918e07caaae11 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Mon, 1 Jan 2018 11:56:21 -0500 Subject: [PATCH] Put testcurs' "Output test" into blink mode, if possible. --- demos/testcurs.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/demos/testcurs.c b/demos/testcurs.c index 78a24b90..56838b28 100644 --- a/demos/testcurs.c +++ b/demos/testcurs.c @@ -563,6 +563,9 @@ void outputTest(WINDOW *win) chtype ch; int by, bx; +#ifdef PDCURSES + PDC_set_blink(TRUE); +#endif nl(); wclear(win); mvwaddstr(win, 1, 1, "You should now have a screen in the upper " @@ -719,6 +722,9 @@ void outputTest(WINDOW *win) mvaddstr(LINES - 2, 10, Buffer); refresh(); Continue(win); +#ifdef PDCURSES + PDC_set_blink(FALSE); +#endif } #if HAVE_RESIZE