diff options
| -rw-r--r-- | corfu.el | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -179,7 +179,8 @@ If `line-spacing/=nil' or in text-mode, the background color is used instead.") "Show LINES as popup at POS, with IDX highlighted and scrollbar from LO to LO+BAR." (save-excursion (goto-char pos) - (let* ((size (corfu--char-size)) + (let* ((inhibit-field-text-motion t) ;; ignore field boundaries (shell-mode!) + (size (corfu--char-size)) ;; XXX Deactivate fancy border on terminal or if line-spacing is used (fancy (and (not line-spacing) (display-graphic-p))) (lborder-curr (corfu--border (car size) (cdr size) 1 'corfu-border 'corfu-current)) |
