in reply to Re: Using Term::ReadLine in an event loop other than Tk
in thread Using Term::ReadLine in an event loop other than Tk [SOLVED]

Thanks, but your code doesn't seem to work, either, probably because the tkRunning is too late. If I move the tkRunning call up to before the $term->readline call, then the timer kinda seems to fire, but I again cannot type anything. I have to kill the process, and then the shell gets what was in the STDIN buffer just as with my second piece of code above.

  • Comment on Re^2: Using Term::ReadLine in an event loop other than Tk