示例#1
0
def fillWithSpaces(crIfRaw=True,saveCursor=True): #fill screen with spaces
	cursor=CursorSaver()
	if saveCursor:
		cursor.save(0)

	size=getTerminalSize()
	for line in f.fromTo(2,size["rows"]):
		print(" "*size["columns"],crIfRaw=crIfRaw,newline=True)

	if saveCursor:
		cursor.load(0)