cowyeet_terminal/terminal engine/test.py

11 lines
211 B
Python
Raw Normal View History

2023-11-06 20:13:12 +01:00
import tengine
feld = tengine.genfeld()
2023-11-06 16:13:41 +01:00
2023-11-06 20:13:12 +01:00
block = "halli\nhallo\nfurz"
block2 = """halli
hallo
furz"""
feld = tengine.bg_char(feld,"#")
feld = tengine.change_block(feld,block2,[3,3])
print(tengine.strfeld(feld))