www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/17/11:10:39

From: Simon <simon AT magicsoftware DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Flusing keyboard buffer
Date: Sun, 17 Jan 1999 15:44:38 +0000
Organization: Customer of Planet Online
Lines: 16
Message-ID: <36A20566.3251@magicsoftware.freeserve.co.uk>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990117122657 DOT 278d-100000 AT is>
NNTP-Posting-Host: modem-125.tumpette.dialup.pol.co.uk
Mime-Version: 1.0
X-Trace: news7.svr.pol.co.uk 916587995 17433 62.136.116.253 (17 Jan 1999 15:46:35 GMT)
NNTP-Posting-Date: 17 Jan 1999 15:46:35 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Mailer: Mozilla 3.04Gold (Win95; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii wrote:
> 
> On Sat, 16 Jan 1999, Simon wrote:
> 
> > Can anyone tell me a function that will remove all unfetched
> > key strokes from the keyboard buffer !
> 
> Here's one possible way:
> 
>        while (kbhit ())
>          getkey ();

Sorry It does do what I want, I just though there may have been a
specific function to do it
Thanks for your help!
Simon

- Raw text -


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