[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/company 7e401cbe16 2/2: Fix the "async" test failure
|
From: |
ELPA Syncer |
|
Subject: |
[elpa] externals/company 7e401cbe16 2/2: Fix the "async" test failure |
|
Date: |
Tue, 21 Nov 2023 21:57:30 -0500 (EST) |
branch: externals/company
commit 7e401cbe168d14106a527194a7e3dc9e546edb6c
Author: Dmitry Gutov <dmitry@gutov.dev>
Commit: Dmitry Gutov <dmitry@gutov.dev>
Fix the "async" test failure
Resolves #906
---
test/async-tests.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/test/async-tests.el b/test/async-tests.el
index 5e1c7bbe9c..1c9253944f 100644
--- a/test/async-tests.el
+++ b/test/async-tests.el
@@ -69,6 +69,11 @@
unread-command-events
noninteractive
(start-time (current-time)))
+ (while (input-pending-p)
+ ;; FIXME: I get these events when launching from inside Terminator or
+ ;; gnome-terminal (but not e.g. from xterm): ^[ [ I
+ ;; And only with Emacs 27+ but not older. Investigate better later.
+ (message "pending event: %c" (read-event nil nil 1)))
(company-idle-begin (current-buffer) (selected-window)
(buffer-chars-modified-tick) (point))
(should (< (time-to-seconds