Skip to content

Commit

Permalink
Update terminal-trx
Browse files Browse the repository at this point in the history
  • Loading branch information
bash committed Feb 2, 2024
1 parent c6a1cc3 commit efc9781
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
13 changes: 12 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rgb = { version = "0.8.37", optional = true }
libc = "0.2.151"
memchr = "2.7.1"
mio = { version = "0.8.10", features = ["os-poll", "os-ext"], default-features = false }
terminal-trx = "0.1.0"
terminal-trx = "0.2.0"

[target.'cfg(windows)'.dependencies]
terminal-trx = "0.1.0"
Expand Down
2 changes: 1 addition & 1 deletion src/xterm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ fn query<T>(
ensure_preconditions(&options.preconditions)?;

let mut tty = terminal()?;
let mut tty = tty.lock()?;
let mut tty = tty.lock();
let mut tty = tty.enable_raw_mode()?;

write_query(&mut tty)?;
Expand Down

0 comments on commit efc9781

Please sign in to comment.