My tmux was working perfectly fine, but after installing iterm2, oh-my-zsh, adding the tmux plugin into .zshrc and then trying out the commands provided https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/tmux (which includes tmux list-sessions, tmux kill-server and tmux new-session -s) my backspaces began to reuslt in a space in the command prompt of not only iterm2 but also the terminal.app (I am running macos). Does anyone have any suggestions? Ideally I would like to just revert whatever I had done but i’m not really sure how to revert back to before I made those changes.
If anyone has any suggestions that would be greatly appreciated. I have already tried many things and none of them have worked. This includes, stty erase ‘?’, adding set-option -g default-terminal “screen-256color” to .tmux.conf file, and choosing the option toDelete sends Control-H` in which none of them have worked. I’m quite lost on how to fix it. Even trying to uninstall and reinstall tmux has been futile.
Also, What is a $ TERM file? I have seen a couple mentions of it but I have not been able to figure out what exactly it is and how to access it. Last note: I just realized that I have a recent time machine backup that has all files so that could be a possibility too, I just don’t know which files I should replace