You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to improve the terminal compatibility with tmux?
I'm running a bash script which uses tmux to ssh to a server to run commands on it. It sends the commands and then attaches to the tmux session, then detaches again when the command has run. Sometimes twice if there is another command to run.
The first issue is that the previous scrollback history in the script-server terminal is lost when the tmux session detaches. Which also means it's not shown in the history. Is there a way to preserve it?
The second issue is the way that the tmux session is displayed on the terminal. The green tmux session bar overlaps output and displays what appears to be escape sequences or control codes.
Attached to tmux session with green tmux bar overlap:
Characters also appear here:
It also displays those in the original terminal when it outputs that the tmux session exited and can no longer see the previous scrollback history:
The text was updated successfully, but these errors were encountered:
Hi @sa-dbilling thanks for reporting. Unfortunately, I won't have time to solve it
Regarding the cleaning or a terminal after an exit, this is based on tmux. Apparently, it sends "clear screen" command. I'm not sure, if it's possible to configure Tmux not to do this cleanup.
Is there any way to improve the terminal compatibility with tmux?
I'm running a bash script which uses tmux to ssh to a server to run commands on it. It sends the commands and then attaches to the tmux session, then detaches again when the command has run. Sometimes twice if there is another command to run.
The first issue is that the previous scrollback history in the script-server terminal is lost when the tmux session detaches. Which also means it's not shown in the history. Is there a way to preserve it?
The second issue is the way that the tmux session is displayed on the terminal. The green tmux session bar overlaps output and displays what appears to be escape sequences or control codes.
Attached to tmux session with green tmux bar overlap:
Characters also appear here:
It also displays those in the original terminal when it outputs that the tmux session exited and can no longer see the previous scrollback history:
The text was updated successfully, but these errors were encountered: