ci_program.py 文件源码

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

项目:ci_edit 作者: google 项目源码 文件源码
def handleScreenResize(self, window):
    #app.log.debug('handleScreenResize -----------------------')
    if sys.platform == 'darwin':
      # Some terminals seem to resize the terminal and others leave it
      # to the application to resize the curses terminal.
      rows, cols = app.curses_util.terminalSize()
      curses.resizeterm(rows, cols)
    self.layout()
    window.controller.onChange()
    self.render()
    self.top, self.left = app.window.mainCursesWindow.getyx()
    self.rows, self.cols = app.window.mainCursesWindow.getmaxyx()
    self.layout()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号