Originally reported by: Michael Haberler (Bitbucket: mhaberler, GitHub: mhaberler)
I wish there were a way to register cmd2 input with event loops like zmq.loop, asyncio, poll, gobject/gevent etc without occupying the main loop
the assumption cmd2 owns the inner loop of a program is very restrictive - even Gnu readline can be used from an event loop (C, not Python though)
using threading is an overkill for the purpose, and brings its own set of problems
Originally reported by: Michael Haberler (Bitbucket: mhaberler, GitHub: mhaberler)
I wish there were a way to register cmd2 input with event loops like zmq.loop, asyncio, poll, gobject/gevent etc without occupying the main loop
the assumption cmd2 owns the inner loop of a program is very restrictive - even Gnu readline can be used from an event loop (C, not Python though)
using threading is an overkill for the purpose, and brings its own set of problems