Drop some tests

This commit is contained in:
Yohann D'ANELLO
2020-11-10 20:36:09 +01:00
parent 5c95bf11e7
commit 9b925672ca
2 changed files with 0 additions and 45 deletions

View File

@ -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)