[wingide-users] unbuffered input in WingIDE

Lawson English lenglish5 at cox.net
Fri Sep 5 14:59:15 MDT 2008


Wingware Support wrote:
> Lawson English wrote:
>> I'm trying to implement a simple getch() for testing purposes. I 
>> notice that at least on a Mac, raw_input() and other equivalent stuff 
>> doesn't quite work right when the script is executed from the IDE. E.G.
>>
>> print '?'
>> k = raw_input()
>> print k
>>
>>
>> accepts keyboard input in the open text file, not the console window, 
>> so raw_input never gets a keypress. Anyway of changing this?
>
> If you're debugging this, input is via the Debug I/O tool.  It may
> not gain focus automatically -- is that what you mean or is it completely
> failing?

Yeah, thanks. So I need to click in the Debug I/O tool frame/window to 
get focus.


Lawson



More information about the wingide-users mailing list