无法获取用于 tmux 和 OSX 的删除键

fst*_*kem 2 macos key-bindings tmux

在通过自制软件安装了 tmux 的 OSX 上,我似乎无法让“删除”键起作用。我正在使用 iterm2 并将删除映射到 ^H。如果没有 tmux,“删除”键可以正常工作。

rad*_*ado 5

要修复 Apple M1 Pro OSX 12.4、tmux 3.3a 上的退格键,我必须执行以下操作

brew install ncurses
$(brew --prefix)/opt/ncurses/bin/infocmp tmux-256color > ~/tmux-256color.info
tic -xe tmux-256color ~/tmux-256color.info

#https://github.com/tmux/tmux/issues/1257#issuecomment-581378716
#https://gist.github.com/bbqtd/a4ac060d6f6b9ea6fe3aabe735aa9d95
Run Code Online (Sandbox Code Playgroud)