How to use the rainbowstream.interactive.RainbowCompleter function in rainbowstream

To help you get started, weā€™ve selected a few rainbowstream 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 orakaro / rainbowstream / rainbowstream / interactive.py View on Github external
def init_interactive_shell(d):
    """
    Init the rainbow shell
    """
    readline.set_completer(RainbowCompleter(d).complete)
    readline.parse_and_bind('set skip-completed-text on')
    if 'libedit' in readline.__doc__:
        readline.parse_and_bind("bind ^I rl_complete")
    else:
        readline.parse_and_bind("tab: complete")

rainbowstream

A smart and nice Twitter client on terminal.

MIT
Latest version published 3 years ago

Package Health Score

48 / 100
Full package analysis

Popular rainbowstream functions

Similar packages