Merged changes from hunter. Attempt to fix cthulhu announcing modifiers when suspended for xterm.

This commit is contained in:
Storm Dragon committed 2026-10-31 16:07:29 -04:00
1 parent 27867a48cb
commit f2cc47c8a0
24 files changed
+679 -67

No files matched your search

+6 -2
View File
@@ -67,8 +67,12 @@ func TestNativeAnnouncementEventDelivered(t *testing.T) {
fmt.Fprintln(input, "announce polite Workspace 2 Fixture")
polite := wait("Workspace 2 Fixture")
t.Logf("polite announcement detail1=%d role=%s", polite.Detail1, polite.Source.Role)
if polite.Detail1 != 1 {
t.Fatalf("polite detail1 = %d, want 1", polite.Detail1)
}
fmt.Fprintln(input, "announce assertive Fixture error")
assertive := wait("Fixture error")
t.Logf("assertive announcement detail1=%d role=%s", assertive.Detail1, assertive.Source.Role)
if assertive.Detail1 != 2 {
t.Fatalf("assertive detail1 = %d, want 2", assertive.Detail1)
}
}