I recently installed Tmux and became really glad for it. All of a sudden I though it would start throwing an error when I try to create a new session from within my terminal:
tmux new -s my-session
will cause the application to crash and only return [exited]
and put the following on the next command line: 62;9;c
.
Being new to Tmux I have no idea how to fix this issue. Does anybody recognize this error and knows how to fix it?
Log messages will be saved into tmux-client-PID. log and tmux-server-PID. log files in the current directory, where PID is the PID of the server or client process.
To detach (meaning exit the window to come back to later) from the tmux session, use CTRL + b then d (hold ctrl, press b, let go of both of the keys, and press d). Whatever program(s) you are running in the tmux session will continue going without you.
Using the Prefixes to Control Tmux By default, the prefix is CTRL+B. That is, we have to press the keys CTRL+B and then the command. For example, to create a new session, the command would be C. So, to create a new session we need to press CTRL+B and next C – CTRL+B, C.
Tmux first looks for the system configuration file inside the directory '/etc/tmux. conf', if it is absent, it then searches inside the home directory of the user. The file contains a list of Tmux commands which are executed sequentially.
Removing
set-option -g default-command "reattach-to-user-namespace -l zsh"
from the configuration fixed the problem for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With