3

I am using ConEMU with Git Bash and all is working well except the delete key. When I press the delete key I get a ~ instead of the character being removed. The only way to delete is get in front of the character and press backspace.

I do no exhibit this problem using Powershell so I presume something else must be upsetting it.

I have searched the settings under Keys and Macros but cannot find anything to fix my problem.

1

3 Answers 3

4
+50

Put this into your .bashrc. Works fine for me.

export TERM=xterm

2
  • Thanks , now it works perfectly! Been driving me mad for months :)
    – Reptile
    Apr 23, 2015 at 9:00
  • 1
    Ok, while the backspace key works the "end" key now exhibits the same behaviour so this isn't the perfect solution.
    – Reptile
    Apr 24, 2015 at 7:57
1

Simply go to the git menu option in the git bash..

then to Terminal

there change the type to xterm... and backspace will work after restarting the bash terminal.

0

I edit the file Minttyrc - ONLY SELECTED

BoldAsFont=no
Font=Lucida Sans Typewriter
Term=xterm
Transparency=low
CursorBlinks=no
CursorType=block
OpaqueWhenFocused=yes
BackspaceSendsBS=no
CtrlAltIsAltGr=no
AltFnShortcuts=yes
CopyOnSelect=no
CopyAsRTF=no
ClicksPlaceCursor=yes
DeleteSendsDEL=no
CtrlShiftShortcuts=yes
ClicksTargetApp=no

1
  • add some details to your answer Dec 14, 2016 at 15:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.