예제 #1
0
파일: core.py 프로젝트: gigigi/turses
 def tweet_with_hashtags(self):
     status = self.timelines.get_active_status()
     if status is None:
         return
     hashtags = ' '.join(get_hashtags(status))
     if hashtags:
         # TODO cursor in the begginig
         self.ui.show_tweet_editor(prompt=_('%s' % hashtags),
                                   content=hashtags,
                                   done_signal_handler=self.tweet_handler)
예제 #2
0
파일: core.py 프로젝트: gigigi/turses
 def search_hashtags(self):
     status = self.timelines.get_active_status()
     if status is None:
         return
     hashtags = ' '.join(get_hashtags(status))
     self.search_handler(text=hashtags)