Skip to content

Commit

Permalink
prompt-buffer: Disable mouse support on macOS.
Browse files Browse the repository at this point in the history
Although it works on Electron+Linux, it fails on Electron+macOS.
  • Loading branch information
aadcg committed Jun 14, 2024
1 parent ccf0df6 commit 255e95a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/prompt-buffer.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,8 @@ See also `show-prompt-buffer'."
in (prompter:active-attributes suggestion :source source)
collect (:td
:title attribute
:onclick (when (mouse-support-p prompt-buffer)
:onclick (when (and (mouse-support-p prompt-buffer)
(not (find :darwin *features*)))
(ps:ps
(cond
((or (ps:chain window event ctrl-key)
Expand Down

0 comments on commit 255e95a

Please sign in to comment.