Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for TMUX is limited. #401

Open
TimonPost opened this issue Mar 22, 2020 · 1 comment
Open

Support for TMUX is limited. #401

TimonPost opened this issue Mar 22, 2020 · 1 comment

Comments

@TimonPost
Copy link
Member

TimonPost commented Mar 22, 2020

Describe the bug
TMUX is known to have some limitations and bugs which probably aren't crossterm related. The user should expect some functionalities not to work. Please see this issue for the reports.

OS

  • e.g. MacOs, Linux, (version) etc...

Terminal/Shell

  • TMUX
@TimonPost TimonPost changed the title Tmux support is limited. Support for TMUX is limited. Apr 9, 2020
@Trolldemorted
Copy link

We have taken tui's sample code (with the crossterm backend) and put it into a for loop:

fn update_frame(&mut self) -> io::Result<()> {
    self.terminal.draw(|f| {
        let size = f.size();
        let block = Block::default()
            .title("Block")
            .borders(Borders::ALL);
        f.render_widget(block, size);
    })?;
    Ok(())
}

which resizes just fine except when we run it within tmux (we have tmux mouse mode enabled if that matters).

Should this work? Can we do anything to make it work? Being unable to run in tmux would be bad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants