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

Space padded to the Prompt #2045

Open
kbajpai opened this issue Jan 5, 2020 · 4 comments
Open

Space padded to the Prompt #2045

kbajpai opened this issue Jan 5, 2020 · 4 comments

Comments

@kbajpai
Copy link

kbajpai commented Jan 5, 2020

Versions

ConEmu build: 180626 x64
OS version: Windows 10 Pro x64
Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): Cygwin (CYGWIN_NT-10.0 Win10 3.1.2(0.340/5/3) 2019-12-21 15:25 x86_64 Cygwin)

Problem description

Updating Cygwin to latest version, when I press ENTER, I get space padded to the prompt. This is confirmed when I updated my home & work computer during same day. I use the following commands: D:\cygwin64\cygwin.bat -c "/bin/xhere /bin/bash.exe '%V'"

Steps to reproduce

  1. Update Cywgin
  2. Start ConEmu
  3. Press Enter key

Actual results

image

Expected results

Additional files

bash_profile.txt

@tyan0
Copy link
Contributor

tyan0 commented Jan 6, 2020

Perhaps, you are not using cygwin-connector.

If so, this is because ConEmu does not support DISABLE_NEWLINE_AUTO_RETURN. Cygwin 3.1.2-1 uses this feature which is supported by command prompt on Win10 1703 or later.

See #1966
and comment on line 1188 in
https://github.com/Maximus5/ConEmu/blob/master/src/ConEmuHk/Ansi.cpp

@kbajpai
Copy link
Author

kbajpai commented Jan 7, 2020

Using cygwin-connector fixed the issue, but now I am unable to use arrow, home, etc. keys

@tyan0
Copy link
Contributor

tyan0 commented Jan 7, 2020

That is the issue of cygwin side. I already proposed a patch for that issue.
#2035

Please wait for new cygwin release.

@kbajpai
Copy link
Author

kbajpai commented Jan 10, 2020

Workaround
Using the cygwin v3.0.7-1 with cygwin-connector (instead of v3.1.2-1)

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

No branches or pull requests

2 participants