mirror of
https://github.com/alexpasmantier/television.git
synced 2025-06-06 19:45:23 +00:00
fix(windows): bypass mouse capture disabling on windows
This commit is contained in:
parent
250d1c7a8b
commit
39ba21fd82
@ -44,7 +44,9 @@ where
|
||||
let mut buffered_stderr = LineWriter::new(stderr());
|
||||
execute!(buffered_stderr, EnterAlternateScreen)?;
|
||||
self.terminal.clear()?;
|
||||
execute!(buffered_stderr, DisableMouseCapture)?;
|
||||
if cfg!(not(windows)) {
|
||||
execute!(buffered_stderr, DisableMouseCapture)?;
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user