My Setup
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
Weird Behavior
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.
Question
Does anybody know how to fix this? I'd rather change up the TERM on my Mac rather than my EC2's.
Update
This is why I set TERM environment the way I'm having it now. I'm not sure about the reason behind it.
unknown command error
).