Merged from sys/dev/syscons/syscons.c revision 1.344.

This commit is contained in:
Yoshihiro Takahashi 2000-07-30 07:59:19 +00:00
parent 78a9e97b3a
commit 87cd59ec7c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64020

View File

@ -2975,7 +2975,8 @@ next_code:
if (!(c & RELKEY))
sc_touch_scrn_saver();
random_harvest(&c, sizeof(c), 1, 0, RANDOM_KEYBOARD);
if (!(flags & SCGETC_CN))
random_harvest(&c, sizeof(c), 1, 0, RANDOM_KEYBOARD);
if (scp->kbd_mode != K_XLATE)
return KEYCHAR(c);