TimothyYe / ydict

Yet another command-line youdao dictionary for geeks!

Home Page:https://xiaozhou.net/command-line-tool-ydict-2017-09-11.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

There is a problem with output format

driftli opened this issue · comments

I have tried to query word 'hello' like 'ydict hello', but get output like this, seems there is a bug where output the query info.
image

demo

@driftli I tried it on one Linux machine, it seems OK.
I think this issue may be related to your terminal tool, what terminal software do you use?
I tried ydict with iTerm2, Kitty, it works well.

test
@TimothyYe I tried it on different Linux machines with xshell, both of them seems abnormal. However, when I tried it on physical machine directly, it works. Did you test ydict on xshell?

@driftli I don't have a windows machine, so I didn't test it on xshell.

It seems briandowns/spinner bug. You can just try with -q option without Querying ... progress tips. Working fine for me in Windows cmd/powershell .

ydict -q hello

I can disable the spinner for windows system.