Fix Windows

This commit is contained in:
sxyazi 2024-07-18 16:23:10 +08:00
parent a83ea16d8f
commit d88211cadf
No known key found for this signature in database

View file

@ -50,6 +50,10 @@ impl Signals {
true
}
#[cfg(windows)]
#[inline]
fn handle_sys(_: ()) -> bool { unreachable!() }
#[inline]
fn handle_term(event: CrosstermEvent) {
match event {