Fix tmux on Mac
Posted on July 21, 2022 (Last modified on July 2, 2024) • 1 min read • 72 wordsI started tmux
.
Every time i pressed <BACKSPACE>
got got a … space.
This felt wrong, so the internets had a solution ready.
This is it:
mkdir -p $HOME/.config/tmux
echo 'set-option default-terminal "screen-256color"' > $HOME/.config/tmux/tmux.conf
Apparently the Mac OS ncurses database on Mac does not contain the settings for tmux’s default value of tmux-256color
, but the ones for screen
.
Sources (including some more ways to fix it):