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.
In reply to Re^2: Using Term::ReadLine in an event loop other than Tk
by Tanktalus
in thread Using Term::ReadLine in an event loop other than Tk [SOLVED]
by Tanktalus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |