diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2024-10-22 12:38:12 +0200 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2024-10-22 12:40:40 +0200 |
| commit | 6f5518ea58498af9cf86b8fafbdf1ef4d0997dcc (patch) | |
| tree | 8f167e7b427b347acd7319e8fb3b78886301891a /corfu.el | |
| parent | 557f84811ae0adb06d06673594252c9cc9707665 (diff) | |
Detect tty child frames
See https://lists.gnu.org/archive/html/emacs-devel/2024-10/msg00491.html
Many thanks to @gerd-moellmann!
Diffstat (limited to 'corfu.el')
| -rw-r--r-- | corfu.el | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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." |
