mirror of
https://github.com/wez/wezterm.git
synced 2024-12-25 14:22:37 +03:00
fix build on windows
This commit is contained in:
parent
804fc04630
commit
5f7738899b
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user