Mastodon Mastodon - Fix tmux on Mac
 logo
  • Home 
  • Tags 
  • Blog posts 
  1. Home
  2. Blog posts
  3. Fix tmux on Mac

Fix tmux on Mac

Posted on July 21, 2022  (Last modified on July 2, 2024) • 1 min read • 72 words
Cli   Solved   Tools   Tools: Tmux  
Cli   Solved   Tools   Tools: Tmux  
Share via

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):

  • GitHub Gist
  • StackOverflow
  • tmux GitHub issues
 Container Linux Distributions
AWS - Forced MFA and the CLI 
In case you want to follow me

Here are some links. The further to the right, the less active.

           
(c) Axel Bock | Powered by Hinode.
Link copied to clipboard
Code copied to clipboard