Add support to console's input to nullclient.py