mirror of
https://github.com/JonasunderscoreJones/EPR-Gruppenabgabe-07.git
synced 2025-10-23 09:29:19 +02:00
uwu
This commit is contained in:
parent
dd30027f87
commit
8fc0a3fe95
5 changed files with 55 additions and 2 deletions
|
|
@ -247,4 +247,12 @@ class Matrix:
|
|||
for i in range(len(matrix)):
|
||||
for j in range(len(matrix[i])):
|
||||
self.set(self, x + j, y + i, matrix[i][j])
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
term = Terminal()
|
||||
term.set_frame(0, 0, term.get_columns(), term.get_lines(), title="Test",
|
||||
alligncenter=True)
|
||||
term.set_string_center(1, "Hello World!")
|
||||
term.print()
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue