Variable: treemacs-read-string-input

treemacs-read-string-input is a customizable variable defined in treemacs-customization.el.

Value

from-child-frame

Documentation

The function treemacs uses to read user input.

Only applies to plaintext input, like when renaming a project, file or workspace.

There are 2 options:
 - from-child-frame: will use the cfrs package to read input from a small
   child frame pop-up. Only available in GUI frames, otherwise the default
   minibuffer input is used.
 - from-minibuffer: will read input from the minibuffer, same as baseline
   Emacs.

Note: there seem to be issues with focusing child frames on wayland, therefore treemacs will use the minibuffer if it thinks you are running wayland.

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-customization.el
(defcustom treemacs-read-string-input
  (if (getenv "WAYLAND_DISPLAY") 'from-minibuffer 'from-child-frame)
  "The function treemacs uses to read user input.
Only applies to plaintext input, like when renaming a project, file or
workspace.

There are 2 options:
 - `from-child-frame': will use the `cfrs' package to read input from a small
   child frame pop-up.  Only available in GUI frames, otherwise the default
   minibuffer input is used.
 - `from-minibuffer': will read input from the minibuffer, same as baseline
   Emacs.

Note: there seem to be issues with focusing child frames on wayland, therefore
treemacs will use the minibuffer if it thinks you are running wayland."
  :type '(choice (const :tag "With Child Frame Popup" from-child-frame)
                 (const :tag "From the Minibuffer (Emacs Default)" from-minibuffer))
  :group 'treemacs)