Unicode support ;)
This commit is contained in:
parent
16855e8eb6
commit
81c661b776
@ -2,9 +2,8 @@ import os,sys
|
|||||||
#just a quick script to print the fzf.txt file content
|
#just a quick script to print the fzf.txt file content
|
||||||
|
|
||||||
dn = os.path.dirname(os.path.realpath(__file__))
|
dn = os.path.dirname(os.path.realpath(__file__))
|
||||||
fzf_file = open(dn + "/fzf.txt").read()
|
fzf_file = open(dn + "/fzf.txt", encoding="utf-8").read()
|
||||||
fzf_file = fzf_file.replace("[0;34m", "")
|
fzf_file = fzf_file.replace("[0;34m", "[0;33m")
|
||||||
fzf_file = fzf_file.replace('[0m', '')
|
fzf_file = fzf_file.replace('[0m', '[0m')
|
||||||
|
|
||||||
print(fzf_file)
|
print(fzf_file)
|
||||||
sys.exit()
|
sys.exit()
|
Loading…
Reference in New Issue
Block a user