New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Glitch of chinese appearance in output of VIEW command #659
Comments
Hi @Serenade600, I suspect that this issue is not specific to Chinese characters but to Windows and Powershell (fatih/color#169) because I couldn't reproduce it on Linux. Therefore I upgraded a dependency to apply a patch (https://github.com/fatih/color/releases/tag/v1.15.0) and created a new release for the CLI (v0.15.1). Could you try to upgrade to the latest version of the CLI (v0.15.1) and try again? |
Hi @sungwoncho. I tried the latest CLI v0.15.1. The output of
|
Thanks for trying the new release. I suspect that this issue is related to how Dnote interacts with Powershell. Below is what it should look like in Linux:
I went through the source code (https://github.com/dnote/dnote/blob/master/pkg/cli/cmd/ls/ls.go) but found no smoking gun at this point. I will keep this issue open and await any feedback from Powershell users. |
Environment
Description
My content of note 11 is
,which appears correctly in external editor. This note is in book ‘working_summary’. But if I input
dnote view working_summary
in powershell or CMD,the output is.The output lost the first three chinese character "这是第" of the first line of this note.
Steps to reproduce
Please test
The text was updated successfully, but these errors were encountered: