1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-24 22:01:47 +03:00

fix build on windows

This commit is contained in:
Wez Furlong 2022-09-02 09:53:20 -07:00
parent 804fc04630
commit 5f7738899b

View File

@ -76,6 +76,7 @@ impl Pane for LocalPane {
fn get_metadata(&self) -> Value { fn get_metadata(&self) -> Value {
let mut map: BTreeMap<Value, Value> = BTreeMap::new(); let mut map: BTreeMap<Value, Value> = BTreeMap::new();
#[cfg(unix)]
if let Some(tio) = self.pty.borrow().get_termios() { if let Some(tio) = self.pty.borrow().get_termios() {
use nix::sys::termios::LocalFlags; use nix::sys::termios::LocalFlags;
// Detect whether we might be in password input mode. // Detect whether we might be in password input mode.