シェルで絵文字が補完される時に表示が崩れることがあった。
再現方法
- tmuxで画面を左右に分割している
- コマンドの補完で絵文字が入力された時(
git commit -m "絵文字"
)
原因
tmuxが依存しているutf8procがインストールされていなかった。
解決方法
utf8procをインストール後、tmuxを再インストール、再起動する。
Homebrewを利用している場合
brew uninstall tmux
brew install utf8proc
brew install tmux
utf8procにチェックがついていればOK
brew info tmux
.
.
.
==> Dependencies
Build: pkg-config ✔
Required: libevent ✔, ncurses ✔, utf8proc ✔
.
.
.