Re: [SharpOS Developers] Waitforenter() Patch in Console.CS

2008-02-04 Thread Sander van Rossen
On Feb 4, 2008 8:17 AM, Liam Dunn <[EMAIL PROTECTED]> wrote: > > This is a small patch that is quite hacky. > > What it does, is change a bool called 'iswaiting' to false, and then has a > couple of if's in the keyboard handler, that basically say, 'if it's not > waiting, do whatever you normally

[SharpOS Developers] Waitforenter() Patch in Console.CS

2008-02-03 Thread Liam Dunn
This is a small patch that is quite hacky. What it does, is change a bool called 'iswaiting' to false, and then has a couple of if's in the keyboard handler, that basically say, 'if it's not waiting, do whatever you normally do, if not, don't add the character. Also, if enter is pressed, clea