Open wuub opened 12 years ago
I seem to remember you mentioned something about ZMQ. Any luck with that?
I wanted to use zmq as a reliable and low latency channel for keypresses and screen upades. After some tinkering I was able to load zmq extension into sublime and create both Context and Socket, but once anything connected to this socket sublime crashed hard.
I've been looking around and I can't find any "official" releases for Python 2.6. Were you using a driver for a different Python version perhaps?
IIRC I tried both win32 and amd64 2.6 binaries from here https://github.com/zeromq/pyzmq/downloads (obviously with 32 and 64bit st2). I suspect that boost python might not be playing so well with C extensions compiled for standard cpython and/or st2 didn't like zmq's background IO thread.
Shame. ZMQ looked like a good option and would make SublimePTY awesomer.
Right now supervisor pokes each process every 0.2 seconds and also after sending any input event. It would great if console_server.py just let console_client.py know when something changed on screen.