Skip to content

Instantly share code, notes, and snippets.

@on-three
Created October 5, 2014 01:29
Show Gist options
  • Save on-three/cbfd7d03a526be0a2a86 to your computer and use it in GitHub Desktop.
Save on-three/cbfd7d03a526be0a2a86 to your computer and use it in GitHub Desktop.
formatting for stream
return foreground(u'white') + background(u'black') \
+ u' ' + self._name + u' ' \
+ foreground(u'white') + background(u'green') + u' ' + self._url + u' '\
+ foreground(u'white') + background('black') + u' ' + self._desc + u' '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment