Fix tmux on Mac
I 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):