def execute(self): if self.colorful: output = util.tw_execute_colorful(self.tw, self.full_args, allow_failure=False, maxwidth=self.maxwidth, maxheight=self.maxheight) else: output = util.tw_execute_safely(self.tw, self.full_args) util.show_in_split( output, size=self.size, name=self.split_name, vertical=self.vertical, activate_cursorline=self.cursorline, )
def execute(self): args = self.args + [self.command] + self.tw_extra_args if self.colorful: output = util.tw_execute_colorful(self.tw, args, allow_failure=False, maxwidth=self.maxwidth, maxheight=self.maxheight) else: output = util.tw_execute_safely(self.tw, args) util.show_in_split( output, name=self.split_name, vertical=self.vertical, activate_cursorline=self.cursorline, )