socli.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:socli 作者: gautamkrishnar 项目源码 文件源码
def set_answer(self):
        """
        We must use a box adapter to get the text to scroll when this widget is already in
        a Pile from the main question page. Scrolling is necessary for long answers which are longer
        than the length of the terminal.
        """
        self.content = [('less-important', 'Answer: ')] + self.answers[self.index].split("\n")
        self._w = ScrollableTextBox(self.content)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号