felixonmars / ydcv

YouDao Console Version - Simple wrapper for Youdao online translate (Chinese <-> English) service API, as an alternative to the StarDict Console Version(sdcv).
GNU General Public License v3.0
506 stars 91 forks source link

Fix #35 and #40 #64

Closed Freed-Wu closed 1 year ago

Freed-Wu commented 2 years ago

Use readline to record log.

I don't support #35 and #40. #35's sqlite3 is too troublesome for user to modify the history, and #40 should use readline to realize the function.

readline don't support record time. If this function is needed, prompt-toolkit can be used to replace readline.

Freed-Wu commented 2 years ago

And I hope the history path can support XDG (e.g. ~/.local/share/ydcv/ydcv_history.txt)

Freed-Wu commented 2 years ago

And the zsh completion script should be changed to add new cmd option.

Freed-Wu commented 1 year ago

Close for no response.