cowyeet_terminal/tengine/test.py

14 lines
352 B
Python
Raw Normal View History

import forgejo.cowyeet_terminal.tengine.main as main
feld = main.genfeld()
block = "halli\nhallo\nfurz"
block2 = """halli
hallouuuuuuuuuuuuu
furz"""
feld = main.bg_char(feld,"#")
#feld = tengine.draw_border(feld)
feld = main.change_block(feld,block2,[2,2])
#feld = tengine.viereck(feld,[1,1],4,4,"-")
print(main.strfeld(feld))
#tengine.clear_screen()