T44: herdr's shortcuts work, which a user found dead: under kitty's flags a key Shift makes a symbol of goes as its own key with Shift, the symbol its alternate, as Ghostty sends it, read from the layout gpui reads on macOS and Windows; on Windows keys that type no text go as win32-input-mode records, which ConPTY asks for and herdr reads, as Windows Terminal sends them; on Linux gpui keeps no key code, which the docs say; shot learns wait, n and ]
CI / platforms (windows-latest) (push) Failing after 19s
CI / macos (push) Failing after 2m56s
CI / platforms (ubuntu-24.04) (push) Successful in 6m41s

This commit is contained in:
ZacharyZhang-NY committed 2026-10-18 04:00:24 -04:00
1 parent 8d7e730a78
commit fc10c4d491
19 files changed
+548 -118

No files matched your search

+1
View File
@@ -42,6 +42,7 @@ fn main() {
cx.background_executor().timer(Duration::from_secs(1)).await;
for spec in &keys {
match spec.as_str() {
"wait" => cx.background_executor().timer(Duration::from_secs(1)).await,
"to:main" => {
aim = main;
capture::front(number(aim, cx)).expect("the window on screen");
+3 -1
View File
@@ -12,7 +12,7 @@ use objc::{
};
/// US layout key codes and what each key types.
const KEYS: [(&str, u16, &str); 32] = [
const KEYS: [(&str, u16, &str); 34] = [
(",", 43, ","),
("a", 0, "a"),
("b", 11, "b"),
@@ -32,8 +32,10 @@ const KEYS: [(&str, u16, &str); 32] = [
("=", 24, "="),
("minus", 27, "-"),
("m", 46, "m"),
("n", 45, "n"),
("q", 12, "q"),
("[", 33, "["),
("]", 30, "]"),
("space", 49, " "),
("tab", 48, "\t"),
("enter", 36, "\r"),