mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-11-04 20:15:09 +01:00
10 lines
181 B
Python
Executable File
10 lines
181 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import sys
|
|
import re
|
|
|
|
if __name__ == '__main__':
|
|
regex = re.compile('\x1b\[[0-9]*;[0-9]*H')
|
|
for line in sys.stdin:
|
|
print(regex.sub('', line).strip())
|