How to use the socli.tui.UnicodeText.__init__ function in socli

To help you get started, we’ve selected a few socli examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github gautamkrishnar / socli / socli / tui.py View on Github external
def __init__(self):
        self.current_event = None
        UnicodeText.__init__(self, '')
github gautamkrishnar / socli / socli / tui.py View on Github external
def __init__(self, title):
        text = ["Question: ", ('title', title), "\n"]
        UnicodeText.__init__(self, text)
github gautamkrishnar / socli / socli / tui.py View on Github external
def __init__(self, stats):
        text = ["\n", ('metadata', stats)]
        UnicodeText.__init__(self, text)
github gautamkrishnar / socli / socli / tui.py View on Github external
def __init__(self, url):
        text = ["\n", ('heading', 'Question URL: '), url]
        UnicodeText.__init__(self, text)