def get_title(self, cli):
        w = self.arrangement.get_active_window(cli)

        if w and w.active_process:
            title = w.active_process.screen.title
        else:
            title = ''

        if title:
            return '%s - Pymux' % (title, )
        else:
            return 'Pymux'
The title to be displayed in the titlebar of the terminal.
dataset/ETHPy150Open jonathanslenders/pymux/pymux/main.py/Pymux.get_title