1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-19 18:57:59 +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 {
let mut map: BTreeMap<Value, Value> = BTreeMap::new();
#[cfg(unix)]
if let Some(tio) = self.pty.borrow().get_termios() {
use nix::sys::termios::LocalFlags;
// Detect whether we might be in password input mode.