diff --git a/x11/pdcdisp.c b/x11/pdcdisp.c index e698103c..240a4033 100644 --- a/x11/pdcdisp.c +++ b/x11/pdcdisp.c @@ -19,7 +19,7 @@ #include -RCSID("$Id: pdcdisp.c,v 1.26 2006/07/17 21:45:16 wmcbrine Exp $"); +RCSID("$Id: pdcdisp.c,v 1.27 2006/07/21 02:58:23 wmcbrine Exp $"); /*man-start************************************************************** @@ -146,4 +146,8 @@ void PDC_transform_line(int lineno) curscr->_lastch[lineno] = _NO_CHANGE; XCursesInstructAndWait(CURSES_REFRESH); + + if (lineno == SP->cursrow) + XCurses_display_cursor(SP->cursrow, SP->curscol, + SP->cursrow, SP->curscol, 1); } diff --git a/x11/process/x11.c b/x11/process/x11.c index 8a4520eb..83ba5e81 100644 --- a/x11/process/x11.c +++ b/x11/process/x11.c @@ -19,7 +19,7 @@ #include -RCSID("$Id: x11.c,v 1.55 2006/07/17 22:08:20 wmcbrine Exp $"); +RCSID("$Id: x11.c,v 1.56 2006/07/21 02:58:23 wmcbrine Exp $"); int visible_cursor = 0; int windowEntered = 1; @@ -129,9 +129,6 @@ int XCursesRefreshScreen(void) if (mouse_selection) SelectionOff(); - visible_cursor = 1; - XCursesDisplayCursor(SP->cursrow, SP->curscol, - SP->cursrow, SP->curscol); return 0; }