From daf994dbfc1ed87aaa8a12d70d0f74a315a636d9 Mon Sep 17 00:00:00 2001 From: nick black Date: Sun, 6 Sep 2020 23:07:56 -0400 Subject: [PATCH] ncreader: place cursor #962 --- src/lib/reader.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/reader.c b/src/lib/reader.c index 32cc167ff..ce75f3ca6 100644 --- a/src/lib/reader.c +++ b/src/lib/reader.c @@ -80,6 +80,9 @@ ncreader_redraw(ncreader* n){ } } } + if(notcurses_cursor_enable(n->ncp->nc, n->ncp->absy + n->ncp->y, n->ncp->absx + n->ncp->x)){ + ret = -1; + } return ret; }