mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-11-16 17:59:19 +01:00
10 lines
181 B
Python
10 lines
181 B
Python
|
#!/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())
|