Skip to content

Tmux compatibility #761

Open
Open
@sa-dbilling

Description

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:
image

Characters also appear here:
image

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:
image

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions