mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-04 20:17:09 +00:00
fix(ioscompanion): pause the clear chord so selection applies before the delete
This commit is contained in:
1 parent
6244a05652
commit
8645431221
2 files changed
+19
-6
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user