Skip to content

Commit 196de5d

Browse files
committed
svnbrowse: Hide cursor.
* subversion/svnbrowse/svnbrowse.c (sub_main): Call curs_set(0) to hide cursor. Note: this function accepts 0, 1, or 2 for different visibility of the cursor. See 'man curs_set' for more info. git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1936145 13f79535-47bb-0310-9956-ffa450edef68
1 parent b64eeab commit 196de5d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

subversion/svnbrowse/svnbrowse.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -786,6 +786,9 @@ sub_main(int *code, int argc, const char *argv[], apr_pool_t *pool)
786786
/* Disable echoing typed keys. */
787787
noecho();
788788

789+
/* Hide cursor. */
790+
curs_set(0);
791+
789792
/* ESCDELAY is a ncurses-exclusive variable that controls how curses will
790793
* handle escape sequences - when a user hits ESC and inputs a command for
791794
* the application to potentially do some handling. We don't really care

0 commit comments

Comments
 (0)