def main():
    with Input() as input_generator:
        def extra_bytes_callback(string):
            print('got extra bytes', repr(string))
            print('type:', type(string))
            input_generator.unget_bytes(string)
        time.sleep(1)
        with CursorAwareWindow(extra_bytes_callback=extra_bytes_callback) as window:
            window.get_cursor_position()
            for e in input_generator:
                print(repr(e))
* Impl Instance. Compiler should statify all the methods, so we
dataset/ETHPy150Open thomasballinger/curtsies/examples/initial_input_with_cursor.py/main--crossover with--dataset/ETHPy150Open anandology/pyjamas/library/gwt/Canvas/GWTCanvas.py/GWTCanvas.__init__