🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #293

Re: How to flush keyboard buffer?

#293
From: Indridi Bjornsson
Date: Fri, 07 Aug 1992 14:36
15 lines
906 bytes
      How about:

while( kbhit() )	getch();


   or is it to obvious :-)


----------------------------------------------------------------------------
Indridi Bjornsson       | No rights reserved. All part of this publication  |
Taeknigardur, Dunhaga 5 | may be reproduced, in any form or by any means,   |
107 Reykjavik           | except intended or intensive sexual harassment    |
ICELAND                 | against elderly animals and children.             |
----------------------------------------------------------------------------
Technical Details
Message-ID: <5206@krafla.rhi.hi.is>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!isgate!krafla!indridi

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!isgate!krafla!indridi
From: indridi@rhi.hi.is (Indridi Bjornsson)
Newsgroups: comp.os.msdos.programmer
Subject: Re: How to flush keyboard buffer?
Message-ID: <5206@krafla.rhi.hi.is>
Date: 7 Aug 92 14:36:40 GMT
Reply-To: indridi@krafla (Indridi Bjornsson)
Organization: University of Iceland (RHI)
Lines: 15