-
-
Notifications
You must be signed in to change notification settings - Fork 575
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
Backspace moves cursor to new line #1873
Comments
How do you start your shell? |
Task is default: .zshrc
Way to reproduce it in my env:
|
Please don't cut down words. "Default" to you is unclear and ambiguous to me |
Hi, i have the same issue. It works fine in normal bash mode and zsh mode in wsl ubuntu. if i use conemu with wsl with bash and then start profile it to zsh enviroment its ok in the beginning. But zsh environment is running correctly with normal ubuntu wsl shell without conemu. But.. i want to use conemu, i think it is the best emulator i tried! ;-) thanks in advance, |
Found a issue with the linesize, if i set it to 80 i dont have the problems. if i add more than 80 or do fullscreen i have the same problem described above. |
Ok first i thought linesize, but know i think the problem is the tab key, with autocompletion in zsh. if i switch to the git directory with normal cd, i had no problems. If i use tab, problem with backspace exists. |
Ok i fixed my environment, it was a problem with my .zsh_profile. conemu works great. |
What's the fix ? |
I'm also interested in the fix for this, I've gone over my zsh config and don't see any issues |
I fixed it on my side by switching font that I used to Literation Mono Powerline from Consolas. Hope that helps |
I have this problem as well. Here's how my task is configured:
and I also use oh-my-zsh, here's relevant parts from .zshrc:
|
I should also add that it only actually screws up with something pasted or with something in my history that is kind of long |
That's not accurate, sorry. I just made it happen by typing |
@prophess It'd be great if you could come back and document your fix |
Hi, i dont remember it :( i switched to hyper, for me it was a little bit faster in some cases. please try to fix the .zsh_profile, maybe there was a bug.. sorry. best regards, |
I had this same issue and (for now) my fix was to uncheck "Compress long strings to fit space" under the font settings in the General section. I hope this helps. |
I also have this problem. All mentioned fixes above are not working. |
Have same problem, ConEmu 191012, bash on remote server over ssh running from WSL debian.
|
Something I'm noticing is that we all seem to have If I type a 5 and then backspace, it will ALWAYS go to a new line - even if I copy-paste the whole string. Things I have tried to no effect:
Here is my .zshrc, if it helps:
My task command looks like this (I'm SSHing to a virtual machine):
This only seems to happen if my scrollback buffer (set to 32766) is full. I see that #1960 is a similar issue, and the suggestion there was to uncheck "Inject ConEmuHk" under Features. This seems to fix my problem, even with a full scrollback buffer. Hopefully that's enough information to reproduce it yourself :) |
Confirm! |
I have to unconfirm. Unchecking |
@Dyllaann That checkbox won't affect any currently open tabs; you have to open a new one for it to take effect. Are you saying that unchecking that doesn't resolve it on a new tab? |
Yep! Even tried restarting the whole program. Unfortunately still no success :(. I can reproduce it easily and the behaviour is exactly the same after unchecking the option and making new tab (or new Cmder instance). |
And I can now confirm that disabling ConEmuHk does not work, either.... and I'm able to reproduce it on line 188 of my scrollback, rather than the end. This is very, very strange. |
Is there any update on this? Any information that I can provide? Besides jumping to a new line, sometimes the console gets stuck and doesnt allow any input or output. |
There are too many notes in this issue. Hard to track. To resume:
Correct? |
To answer most of your questions:
To add something; |
As you don't use connector, the |
Is there any way where I can let ConEmu process the ANSI too then? |
Connector+wslbridge, but this was broken by WSL2. Well, some users report in gh-1930 that wslbridge2 is working, but I'm not going to include it in ConEmu. As for me, running |
This does it for me in MSYS2 zsh, MSYS2 SSH with a remote Bash, and MSYS2 SSH with a remote zsh. Unchecking ConEmuHk doesn't fix it for me. |
For msys2 shells you should use connector |
For me, the fix was Settings -> Startup -> Tasks -> {bash::ubuntu} and change the big edit box to say |
This solved my issue as well. |
After doing some tests with the new windows terminal, installing the new terminal and setting it as the default terminal might be a better fix. Just make sure you explicitly dedicate either the integrated or discrete in the windows setting and not let windows automatically choose. |
Just confirming that the problem still exists, and that I could remove it by disabling "Inject ConEmuHk" (Settings -> Features -> In-console options). |
I can confirm this problem exists. Deleting characters creates new lines and you are unable to see where exactly you're typing - pretty much renders nano unusable. I will test the step above from @alelom and see if it works. |
Had the same issue (windows, conemu (in cmder), WSL2). Disabling ConEmuHk and opening a new console fixed the issue for me |
Versions
ConEmu build: 19.03.10 x64
OS version: Windows Version 10.0.17763 Build 17763 x64
Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): Ubuntu 18.04 + bash + zsh + oh-my-zsh
Problem description
Backspace key is moving cursor to newline when the line is too long
Everything working correctly on standard terminal (bash.exe)
Steps to reproduce
Actual results
Before backspace
After backspace
Expected results
Chars are removed.
No cursor in new line
The text was updated successfully, but these errors were encountered: