

def init_console(self):
    v = self.view.window().new_file()
    v.set_name(CLI_BUFFER_NAME)
    v.set_scratch(True)
    v.set_syntax_file(CLI_SYNTAX_FILE)
    v.run_command('append', {
        'characters': CLI_PROMPT,
    })
    return v

dataset/ETHPy150Open guillermooo/Mercurial/mercurial_cli.py ShowMercurialCli.init_console/original