简体   繁体   English

使用Git Bash删除密钥的ConEmu将无法正常工作

[英]ConEmu with Git Bash delete key won't work

I am using ConEMU with Git Bash and all is working well except the delete key. 我正在使用ConEMU和Git Bash,除了删除键之外一切正常。 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. 我没有使用Powershell展示这个问题所以我认为其他一些东西必须让它烦恼。

I have searched the settings under Keys and Macros but cannot find anything to fix my problem. 我搜索了键和宏下的设置,但找不到任何可以解决我的问题。

Put this into your .bashrc. 把它放到你的.bashrc中。 Works fine for me. 对我来说很好。

export TERM=xterm export TERM = xterm

Simply go to the git menu option in the git bash.. 只需转到git bash中的git菜单选项..

then to Terminal 然后到终点站

there change the type to xterm... and backspace will work after restarting the bash terminal. 将类型更改为xterm ...并且在重新启动bash终端后退格将起作用。

I edit the file Minttyrc - ONLY SELECTED 我编辑文件Minttyrc - ONLY SELECTED

BoldAsFont=no BoldAsFont =无
Font=Lucida Sans Typewriter Font = Lucida Sans打字机
Term=xterm 期限=的xterm
Transparency=low 透明度=低
CursorBlinks=no CursorBlinks =无
CursorType=block 的CursorType =块
OpaqueWhenFocused=yes OpaqueWhenFocused = YES
BackspaceSendsBS=no BackspaceSendsBS =无
CtrlAltIsAltGr=no CtrlAltIsAltGr =无
AltFnShortcuts=yes AltFnShortcuts = YES
CopyOnSelect=no CopyOnSelect =无
CopyAsRTF=no CopyAsRTF =无
ClicksPlaceCursor=yes ClicksPlaceCursor = YES
DeleteSendsDEL=no DeleteSendsDEL =无
CtrlShiftShortcuts=yes CtrlShiftShortcuts = YES
ClicksTargetApp=no ClicksTargetApp =无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM