def refresh_values():
"""
Refresh the parameters when the size of list changes in display
"""
if not GUI.gui_stopped:
GUI.max_row = curses.LINES - 3
GUI.row_num = len(GUI.strings)
GUI.pages = int(ceil(GUI.row_num / GUI.max_row))
评论列表
文章目录