mirror of
https://github.com/alexpasmantier/television.git
synced 2025-06-07 03:55:23 +00:00
fix(windows): bypass mouse capture disabling on windows (#348)
Fixes #338 <img width="1838" alt="Screenshot 2025-02-07 at 20 15 42" src="https://github.com/user-attachments/assets/dd818856-7719-4def-a023-c1efbf5ea790" />
This commit is contained in:
parent
250d1c7a8b
commit
4eead98fae
@ -44,7 +44,9 @@ where
|
||||
let mut buffered_stderr = LineWriter::new(stderr());
|
||||
execute!(buffered_stderr, EnterAlternateScreen)?;
|
||||
self.terminal.clear()?;
|
||||
if cfg!(not(windows)) {
|
||||
execute!(buffered_stderr, DisableMouseCapture)?;
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user