diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,10 @@
 
+5.35.1
+------
+
+Bug fixes:
+ * Fixed a build issue with a test program.
+
 5.35
 ----
 
diff --git a/test/VerifyUsingMockInput.hs b/test/VerifyUsingMockInput.hs
--- a/test/VerifyUsingMockInput.hs
+++ b/test/VerifyUsingMockInput.hs
@@ -132,7 +132,9 @@
         readLoop 0 = return ()
         readLoop n = do
             e <- atomically $ readTChan $ input^.eventChannel
-            modifyIORef eventsRef ((:) e)
+            case e of
+                InputEvent ev -> modifyIORef eventsRef ((:) ev)
+                ResumeAfterSignal -> return ()
             readLoop (n - 1)
     genEventsUsingIoActions maxDuration writeWaitClose readEvents
     outEvents <- reverse <$> readIORef eventsRef
diff --git a/vty.cabal b/vty.cabal
--- a/vty.cabal
+++ b/vty.cabal
@@ -1,5 +1,5 @@
 name:                vty
-version:             5.35
+version:             5.35.1
 license:             BSD3
 license-file:        LICENSE
 author:              AUTHORS
