Mac OS runs terminal with $TERM = xterm-256color; tmux with $TERM = xterm-256color
When I ssh into an AWS EC2 inside that tmux session on my MacOS, $TERM is also xterm-256color
When I use tmux on my MacOS and then ssh into an EC2, I experience this behavior: sometimes when I hit space, the previous character is duplicated.
Does anybody know how to fix this? I'd rather change up the TERM on my Mac rather than my EC2's.
This is why I set TERM environment the way I'm having it now. I'm not sure about the reason behind it.