create input buffer when loading a console from a file