
tmux 無法處理使用我的 alt 鍵的捷徑
例如:
bind-key -n M-l next-window
bind-key -n M-h previous-window
我注意到,當我在 shell 中輸入 Ml 和 Mh 時,我得到這些字元: ì, è
我猜這有某種關係。
順便說一句,我正在使用 xterm。和烏班圖。
答案1
在我的 .Xdefaults 中,我新增了以下行:
XTerm*eightBitInput: true
然後我重新運行它
xrdb -merge .Xdefaults
現在,當我啟動新的 xterms 時,alt 鍵可以正常工作。