mirror of
https://github.com/crossterm-rs/crossterm.git
synced 2025-05-05 15:32:57 +00:00
update rustix to 1.0 (#982)
This commit is contained in:
parent
9824270d57
commit
eb3be0fe1c
@ -67,7 +67,7 @@ filedescriptor = { version = "0.8", optional = true }
|
||||
# compatibility.
|
||||
libc = { version = "0.2", default-features = false, optional = true }
|
||||
mio = { version = "1.0", features = ["os-poll"], optional = true }
|
||||
rustix = { version = "0.38.36", default-features = false, features = ["std", "stdio", "termios"] }
|
||||
rustix = { version = "1", default-features = false, features = ["std", "stdio", "termios"] }
|
||||
signal-hook = { version = "0.3.17", optional = true }
|
||||
signal-hook-mio = { version = "0.2.4", features = ["support-v1_0"], optional = true }
|
||||
|
||||
|
@ -71,7 +71,7 @@ impl UnixInternalEventSource {
|
||||
#[cfg(feature = "libc")]
|
||||
pipe::register(libc::SIGWINCH, sender)?;
|
||||
#[cfg(not(feature = "libc"))]
|
||||
pipe::register(rustix::process::Signal::Winch as i32, sender)?;
|
||||
pipe::register(rustix::process::Signal::WINCH.as_raw(), sender)?;
|
||||
receiver
|
||||
},
|
||||
#[cfg(feature = "event-stream")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user