Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Julian Coleman <jdc@netbsd.org>
List: source-changes
Date: 04/15/2000 15:59:07
Module Name:	basesrc
Committed By:	jdc
Date:		Sat Apr 15 22:59:06 UTC 2000

Modified Files:
	basesrc/lib/libcurses: getch.c

Log Message:
Add a missing __restore_termios() in an error return.
Don't display the character on curscr if the terminal has echo on :
  - doing so will break the tracking of curscr->cury|x if we've just refreshed
  a non-fullscreen window
  - with echo on, the terminal displays the character for us anyway


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 basesrc/lib/libcurses/getch.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.