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

[feature] Can translate the input word and the selected word in the same time? #66

Closed Freed-Wu closed 1 year ago

Freed-Wu commented 2 years ago

E.g., after ydcv --selection, user can select a word to translate, also input a word to translate.

Freed-Wu commented 2 years ago

Emmm, it is difficult to realize due to input() will suspend the screen.

Freed-Wu commented 2 years ago

OK, I have used multiprocess.dummy to realize this function.

Freed-Wu commented 1 year ago

I realize one alternative for myself. Close this issue.