Skip to content

Commit adce6ae

Browse files
committed
update: v8.0.2
1 parent d5fcc44 commit adce6ae

4 files changed

Lines changed: 12 additions & 7 deletions

File tree

.DS_Store

6 KB
Binary file not shown.

doc/version.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ft v8.0.1
1+
ft v8.1.0

exec.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# Finding Text at file and directory
2-
from clint.textui import *
2+
from rich.console import Console
33
import os.path
44
import sys
55
import os
66
#import time
77
# Time look
88
#start = time.time()
99
# Global variable
10+
console = Console()
1011
exts = [] # 찾은 결과 값을 저장해요
1112
count = 0 # 반복횟수를 저장해요
1213

@@ -148,7 +149,8 @@ def ManVer():
148149
file = open(ver_file, "rb")
149150
load = file.read()
150151
file.close()
151-
print(colored.green(load.decode(encoding="utf-8")[:2]) + ' ' + load.decode(encoding="utf-8")[3:]) # Prints
152+
print(load.decode(encoding="utf-8")[:2] + ' ' + load.decode(encoding="utf-8")[3:]) # Prints
153+
152154
def ManIndexErrorHelp(flag):
153155
print("error: No '%s' flags"%flag)
154156
now = NowDir()
@@ -214,10 +216,10 @@ def Print(text, path):
214216
list_leng = len("".join(dir[i-1]).replace(path+'/', "").split('/'))
215217
for j in range(0, list_leng):
216218
if j <= list_leng-2:
217-
print(colored.blue("".join(dir[i-1]).replace(path+'/', "").split('/')[j]), end="/")
218-
print(colored.green("".join(dir[i-1]).replace(path+'/', "").split('/')[j]))
219+
console.print("".join(dir[i-1]).replace(path+'/', "").split('/')[j], style="blue", end="/")
220+
console.print("".join(dir[i-1]).replace(path+'/', "").split('/')[j], style="green")
219221
else:
220-
print(colored.yellow("".join(dir[i-1]).replace(path+'/', "")))
222+
console.print("".join(dir[i-1]).replace(path+'/', ""), style="yellow")
221223
print(i)
222224
except IndexError:
223225
pass

versions.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,4 +213,7 @@ This time update be about user securities 🔒
213213
2. 또한, 사용자가 텍스트로 읽을 수 없거나 보안이 요구되는 디렉토리를 ft가 못 읽도록 설정하였습니다. ft가 못 읽는 디렉토리는 .git, .github, node_modules, .vscode, build 가 있습니다. 또한, ft가 아예 읽을 수 없도록 하는 파일은 .env, .localized, .gitignore 가 있습니다.
214214

215215
### v8.0.1
216-
Remove test.txt, Etc bugs fixed.
216+
Remove test.txt, Etc bugs fixed.
217+
218+
### v8.1.0
219+
Changed the clint module used to use color when printing output to the rich module.

0 commit comments

Comments
 (0)