fix(ioscompanion): pause the clear chord so selection applies before the delete

This commit is contained in:
pj committed 2026-06-07 17:58:18 +05:30
1 parent 6244a05652
commit 8645431221
2 files changed
+19 -6

No files matched your search

+1 -2
View File
@@ -367,8 +367,7 @@ func TestEraseTextLargeCountClearsAtomically(t *testing.T) {
if len(fake.hidStreams) != 1 {
t.Fatalf("expected one stream, got %d", len(fake.hidStreams))
}
want := append(selectAllChordEvents(), keyPressEvents(backspaces(1))...)
eventsEqual(t, fake.hidStreams[0], want)
eventsEqual(t, fake.hidStreams[0], clearFieldEvents())
}
func TestEraseTextSendsBackspaces(t *testing.T) {