Ok, let's see if I only get flamed for asking this or if you guys come up with some useful advice.
Basically I'm writing an interface to an irc client in python and need it to continiously print output of stdout (handle acquired with subprocess' Popen) in one area of the terminal, while waiting for input in another area of the terminal. I tried achieving this by using the multiprocessing module and ansi escape codes to push the output up one line and save/restore the cursor position. But both failed me. Pls halp.
I was trying to avoid it. Are there smaller alternatives or is it really the only way to go? Also, despite the insult, thank you for some actually useful feedback.
Are you seriously looking for "smaller alternatives" when you're already requiring the entire Python runtime and standard library?
Name:
Anonymous2013-08-08 10:51
lol to see shitfags thinking putting 'sage' anywhere in a field actually works
Name:
Anonymous2013-08-08 10:53
>>5
Yeah, I'm seriously doing that. Keeping the program at runtime + standard library and not require extra libraries would be nice. Though it's not a must.
>>4
i can show you a 900-posts sagebomb, but it's no use when you're a little /g/ shithead who can't do anything except spewing e/g/in ``memes'' and thinks sage is some kind of insult