We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edf5933 commit f57a1f5Copy full SHA for f57a1f5
README.md
@@ -128,6 +128,14 @@ pwint(owofy("This is pyth"))
128
This is pythOwO
129
```
130
131
+<h3 align="center">Clear</h3>
132
+You can clear the shell with the CWEAR command
133
+
134
+```
135
+(。・ω・。)ノ♡ > cwear
136
137
138
139
<h2 align="center">Contribuwuting</h2>
140
<p align="center">All contribuwutions are welcome, just make a puwull request!</p>
141
shwell.py
@@ -1,8 +1,12 @@
1
#!/usr/bin/python3
2
+import os
3
import pythowo
4
5
while True:
6
text = input("(。・ω・。)ノ♡ > ")
7
+ if text.strip() == "cwear":
8
+ os.system('clear' if os.name == 'posix' else 'cls')
9
+ continue
10
if text.strip() == "":
11
continue
12
result, error = pythowo.run("<stdin>", text)
0 commit comments