Skip to content
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

A bug in Chinese while using bash. #1206

Closed
STLGirlfriend opened this issue Jul 29, 2017 · 11 comments
Closed

A bug in Chinese while using bash. #1206

STLGirlfriend opened this issue Jul 29, 2017 · 11 comments

Comments

@STLGirlfriend
Copy link

STLGirlfriend commented Jul 29, 2017

If I use Chinese in my ConEmu(version: 170723 x64) while using bash(WSL and Git Bash). My cursor is not always in the end of the line(like those pictures). I can't move it to the end. Is it a bug?
Vim in Windows:
image
Vim in WSL:
image

@STLGirlfriend STLGirlfriend changed the title Is it a bug in Chinese? A bug in Chinese while using WSL. Jul 31, 2017
@STLGirlfriend
Copy link
Author

Where is the author?

@STLGirlfriend STLGirlfriend changed the title A bug in Chinese while using WSL. A bug in Chinese while using bash. Aug 16, 2017
@Maximus5
Copy link
Owner

Where is your Windows version?

@STLGirlfriend
Copy link
Author

STLGirlfriend commented Aug 17, 2017

My Windows version: Windows 10 Pro / Enterprise G 1703 15063.483
image

@hideoyanagi
Copy link

This issue is observed with Japanese too. It seems, when you use ASCII letters after CJK characters, the cursor moves weirdly.

@Maximus5
Copy link
Owner

Maximus5 commented Nov 19, 2017

ConEmu version?

@hideoyanagi
Copy link

ConEmu Preview, PortableApps.com - 3.87 MB | version: 171109

@Maximus5
Copy link
Owner

@hideoyanagi
Copy link

Thanks. I tried all the builds; alpha, preview, and stable. All of them behave differently, and they all have some issues. The alpha has the issue below:

If the line contains only CJK characters, the cursor is positioned at correct places. But, when you have alphabets after CJK characters, the cursor is positioned rightward from where it is supposed to be.

The below is an example.

こんばんはGood Eve|ning

The | indicates the cursor position. In this example, the cursor should be placed at the end of the line, but it appears a little right from the end.

@mr-cn
Copy link

mr-cn commented Mar 10, 2018

The problem has been fixed in the lastest Preview version 180206.

@xianghongai
Copy link

xianghongai commented May 15, 2018

cjk


fix:

git bash command line: git config --global core.autocrlf true

or

windows + r : %userprofile%,edit .gitconfig file:

[user]
	email = Your@Email.com
	name = YourName
[core]
	quotepath = false
	safecrlf = false

@Maximus5
Copy link
Owner

The git option core.autocrlf is not related to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants