I'm having an issue printing asynchronous messages while using cmdloop(). I have a CLI, and a threaded server that should be able to print messages as it receives them. On Ubuntu 16.04 x64, the asynch messages are printed as expected, but on both Debian 8 and Kali the buffer doesn't seem to flush until a key is pressed. As soon as any key is pressed, the expected messages are printed.
I'm having an issue printing asynchronous messages while using cmdloop(). I have a CLI, and a threaded server that should be able to print messages as it receives them. On Ubuntu 16.04 x64, the asynch messages are printed as expected, but on both Debian 8 and Kali the buffer doesn't seem to flush until a key is pressed. As soon as any key is pressed, the expected messages are printed.