+
+def get_decorated_name():
+ """
+ Beginning of every line
+ """
+ t = Twitter(auth=authen())
+ name = '@' + t.statuses.user_timeline()[-1]['user']['screen_name']
+ auth_obj['decorated_name'] = grey('[') + grey(name) + grey(']: ')
+
+def tweet(stuff):
+ """
+ Authen and tweet
+ """
+ t = Twitter(auth=authen())
+ t.statuses.update(status=stuff)
+
+
+def listen(stdin):
+ """
+ Listen to user's input
+ """
+ for line in iter(stdin.readline, ''):
+ # Public tweet
+ if line.startswith('!'):
+ tweet(line[1:])
+ else:
+ sys.stdout.write(auth_obj['decorated_name'])
+ stdin.close()
+
+
+def stream():
+ """
+ Ouput the stream
+ """
+ args = parse_arguments()
+
+ # The Logo
+ ascii_art()
+ print("Tip: Press ENTER and put a '!' in the beginning to start composing a new tweet")
+ print('\n')