delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/09/21/11:51:58

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Thu, 21 Sep 2006 11:51:30 -0400
Message-Id: <200609211551.k8LFpU6W028779@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <4512b128_2@x-privat.org> (nospamtnx@unknown.addr)
Subject: Re: strange getch+keybhit behaviour
References: <4512b128_2 AT x-privat DOT org>
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

If you're using kbhit(), try using getkey() instead of getch().

Also, you can try using bioskey() to check and read the keys.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019