Skip to content

Commit

Permalink
version 1.44.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Canop committed Oct 16, 2024
1 parent d297982 commit 188c70d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 66 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
### next
- fix wrong position of IMEs (input method editors) popup - thanks @xubaiwang - See #948
### v1.44.1 - 2024-10-16
<a name="v1.44.1"></a>
- fix wrong position of IMEs (input method editors) popup - thanks @xubaiwang - See #948
- improve querying the terminal for capabilities (prevent some escape chars from leaking)

### v1.44.0 - 2024-09-07
<a name="v1.44.0"></a>
Expand Down
65 changes: 10 additions & 55 deletions Cargo.lock

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

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "broot"
version = "1.44.1-dev"
version = "1.44.1"
authors = ["dystroy <[email protected]>"]
repository = "https://github.com/Canop/broot"
homepage = "https://dystroy.org/broot"
Expand Down Expand Up @@ -61,13 +61,13 @@ syntect = { package = "syntect-no-panic", version = "4.6.1" } # see issue #485
tempfile = "3.2"
termimad = "0.30.1"
terminal-clipboard = { version = "0.4.1", optional = true }
terminal-light = "1.5"
terminal-light = "1.7"
toml = "0.8"
trash = { version = "3.1.2", optional = true }
umask = "2.1.0"
unicode-width = "0.1.10"
which = "4.4.0"
xterm-query = { version = "0.3", optional = true }
xterm-query = { version = "0.5", optional = true }

[dev-dependencies]
glassbench = "0.4.3"
Expand Down Expand Up @@ -122,10 +122,10 @@ harness = false
# syntect-no-panic = { path = "../syntect" }
# termimad = { path = "../termimad" }
# terminal-clipboard = { path = "../terminal-clipboard" }
# terminal-light = { path = "../terminal-light" }
# terminal-light = { path = "../terminal-light" }
# umask = { path = "../umask" }
# crokey = { path = "../crokey" }
# lazy-regex = { path = "../lazy-regex" }
# lazy-regex-proc_macros = { path = "../lazy-regex/src/proc_macros" }
# strict = { path = "../strict" }
# xterm-query = { path = "../xterm-query" }
# xterm-query = { path = "../xterm-query" }
6 changes: 2 additions & 4 deletions src/kitty/detect_support.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pub fn is_kitty_graphics_protocol_supported() -> bool {
{
let start = std::time::Instant::now();
const TIMEOUT_MS: u64 = 200;
let response = xterm_query::query(
let response = xterm_query::query_osc(
"\x1b_Gi=31,s=1,v=1,a=q,t=d,f=24;AAAA\x1b\\\x1b[c",
TIMEOUT_MS,
);
Expand All @@ -74,9 +74,7 @@ pub fn is_kitty_graphics_protocol_supported() -> bool {
debug!("xterm querying failed: {}", e);
false
}
Ok(response) => {
response.starts_with("\x1b_Gi=31;OK\x1b")
}
Ok(response) => response == "_Gi=31;OK"
};
debug!("Xterm querying took {:?}", start.elapsed());
debug!("kitty protocol support: {:?}", s);
Expand Down

0 comments on commit 188c70d

Please sign in to comment.