Move helm posframe up slightly
And display input line in posframe.
This commit is contained in:
parent
ca6afcf3c7
commit
41697e4e6e
2 changed files with 4 additions and 2 deletions
|
@ -10,7 +10,7 @@ bottom, which is easier on the eyes on big displays."
|
|||
(pos (posframe-poshandler-frame-center info)))
|
||||
(cons (car pos)
|
||||
(truncate (/ (frame-pixel-height parent-frame)
|
||||
1.8)))))
|
||||
2)))))
|
||||
|
||||
(defvar +helm--posframe-buffer nil)
|
||||
(defvar +helm--posframe-last-window nil)
|
||||
|
|
|
@ -72,7 +72,9 @@ be negative.")
|
|||
|
||||
(when (and EMACS26+ (featurep! +childframe))
|
||||
(setq helm-display-function #'+helm-posframe-display
|
||||
helm-display-buffer-default-height 0.3)
|
||||
helm-display-buffer-default-height 0.42
|
||||
helm-echo-input-in-header-line t)
|
||||
;; Fix "Specified window is not displaying the current buffer" error
|
||||
(advice-add #'posframe--get-font-height :override #'ignore))
|
||||
|
||||
(let ((fuzzy (featurep! +fuzzy)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue