无法获取删除密钥以与tmux和OSX一起使用 [英] Cannot get delete key to work with tmux and OSX
本文介绍了无法获取删除密钥以与tmux和OSX一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在通过自制软件安装了tmux的OSX上,我似乎无法使删除"键正常工作.我正在使用iterm2,并将我的删除映射到^ H.没有tmux,删除"键可以正常工作.
On OSX with tmux installed through homebrew I cannot seem to get my 'delete' key to work. I am using iterm2 and have my delete mapped to ^H. Without tmux the 'delete' key works fine.
推荐答案
这可能是您的Shell中的某些终端仿真问题.
This might be some terminal emulation issue within your shell.
当您处于tmux会话中时,在bash提示符下输入以下内容,看看它是否有效:
When you are in a tmux session, enter the following in the bash prompt and see if it works:
stty erase ^H
如果有帮助,请检查您的终端tty设置.
If this helps, check your terminal tty settings.
这篇关于无法获取删除密钥以与tmux和OSX一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文