示例#1
0
def debugconsole():
    """
    Print stuff
    """
    import load as loader
    loader.plugin_start()

    cl = Overlay()

    while True:
        line = sys.stdin.readline().strip()
        cl.send_message("msg", line, "red", 100, 100)
示例#2
0
def debugconsole():
    """
    Print stuff
    """
    import load as loader

    print >> sys.stderr, "Loading..\n"
    loader.plugin_start()

    cl = Overlay()

    print >> sys.stderr, "Reading..\n"
    while True:
        line = sys.stdin.readline().strip()
        print >> sys.stderr, "sending... {}".format(line)
        cl.send_message("msg", line, "red", 100, 100)