terminal.py 文件源码

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

项目:Bahubali---DDOS-Toolkit 作者: navanchauhan 项目源码 文件源码
def _tigetstr(self, cap_name):
        # String capabilities can include "delays" of the form "$<2>".
        # For any modern terminal, we should be able to just ignore
        # these, so strip them out.
        import curses
        cap = curses.tigetstr(cap_name) or ''
        return re.sub(r'\$<\d+>[/*]?', '', cap)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号