Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot select prompt contents #555

Open
joca-bt opened this issue May 28, 2021 · 2 comments
Open

Cannot select prompt contents #555

joca-bt opened this issue May 28, 2021 · 2 comments

Comments

@joca-bt
Copy link

joca-bt commented May 28, 2021

I guess this is more of a question than an issue.

In Selectrum it's not possible to select the prompt contents, for example the M-x or Find file: text. In other packages, like icomplete or vertico this is possible, I can move my cursor over there. How is this achieved?

@minad
Copy link
Contributor

minad commented May 28, 2021

In Vertico you should also explicitly disallow this ;)

  (setq minibuffer-prompt-properties
        '(read-only t cursor-intangible t face minibuffer-prompt))
  (add-hook 'minibuffer-setup-hook #'cursor-intangible-mode)

@joca-bt
Copy link
Author

joca-bt commented May 28, 2021

This seems to be done differently in Selectrum. Didn't find any reference to those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants