first commit
This commit is contained in:
1
examples/ansi_escape.py
Symbolic link
1
examples/ansi_escape.py
Symbolic link
@@ -0,0 +1 @@
|
||||
/home/filip/Documents/python3/ansi_escape/ansi_escape.py
|
||||
9
examples/test.py
Normal file
9
examples/test.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import ansi_escape
|
||||
a = 0
|
||||
while a < 256:
|
||||
b = str(a)
|
||||
print(ansi_escape.color("256", "bg", b) + " " + b + " " + ansi_escape.reset, end='')
|
||||
a += 1
|
||||
|
||||
print(ansi_escape.escape + "]0;Demo" + ansi_escape.escape + "\\")
|
||||
input()
|
||||
Reference in New Issue
Block a user