crossterm
crossterm copied to clipboard
Support for TMUX is limited.
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
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.