Module Name: src Committed By: uwe Date: Mon May 27 14:30:43 UTC 2024
Modified Files: src/lib/libcurses: screen.c Log Message: curses: init old_mode to 1 (normal visible cursor) PR bin/58090: Ctrl-Z, fg makes blinking cursor in vi ok blymn@ To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/lib/libcurses/screen.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libcurses/screen.c diff -u src/lib/libcurses/screen.c:1.38 src/lib/libcurses/screen.c:1.39 --- src/lib/libcurses/screen.c:1.38 Fri May 17 23:32:50 2024 +++ src/lib/libcurses/screen.c Mon May 27 14:30:43 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: screen.c,v 1.38 2024/05/17 23:32:50 uwe Exp $ */ +/* $NetBSD: screen.c,v 1.39 2024/05/27 14:30:43 uwe Exp $ */ /* * Copyright (c) 1981, 1993, 1994 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)screen.c 8.2 (blymn) 11/27/2001"; #else -__RCSID("$NetBSD: screen.c,v 1.38 2024/05/17 23:32:50 uwe Exp $"); +__RCSID("$NetBSD: screen.c,v 1.39 2024/05/27 14:30:43 uwe Exp $"); #endif #endif /* not lint */ @@ -156,7 +156,7 @@ newterm(const char *type, FILE *outfd, F new_screen->nca = A_NORMAL; new_screen->color_type = COLOR_NONE; new_screen->COLOR_PAIRS = 0; - new_screen->old_mode = 2; + new_screen->old_mode = 1; new_screen->stdbuf = NULL; new_screen->stdscr = NULL; new_screen->curscr = NULL;