summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--corfu.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/corfu.el b/corfu.el
index c465534..223857b 100644
--- a/corfu.el
+++ b/corfu.el
@@ -1062,7 +1062,9 @@ A scroll bar is displayed from LO to LO+BAR."
(cl-defgeneric corfu--popup-support-p ()
"Return non-nil if child frames are supported."
- (display-graphic-p))
+ (or (display-graphic-p)
+ ;; Upcoming feature: Gerd Möllmann's child frame support on TTY.
+ (featurep 'tty-child-frames)))
(cl-defgeneric corfu--insert (status)
"Insert current candidate, exit with STATUS if non-nil."