コード例 #1
0
ファイル: taskwiki.py プロジェクト: akashin/taskwiki
    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,
        )
コード例 #2
0
ファイル: taskwiki.py プロジェクト: lubcik/taskwiki
    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,
        )
コード例 #3
0
ファイル: taskwiki.py プロジェクト: absala/taskwiki
    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,
        )
コード例 #4
0
    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,
        )