Drop some tests
This commit is contained in:
@ -1,17 +0,0 @@
|
||||
import curses
|
||||
import time
|
||||
|
||||
def main(screen) :
|
||||
pad = curses.newpad(curses.LINES, curses.COLS)
|
||||
with open("ascii_art.txt", "r") as file:
|
||||
title = file.read().split("\n")
|
||||
|
||||
width = len(title[0])
|
||||
for i in range(len(title)) :
|
||||
pad.addstr(4+i,curses.COLS//2-width//2-1,title[i])
|
||||
pad.refresh(0,0,0,0,curses.LINES,curses.COLS)
|
||||
time.sleep(1)
|
||||
|
||||
|
||||
|
||||
curses.wrapper(main)
|
Reference in New Issue
Block a user