Skip to content

Commit d9c5b07

Browse files
committed
gptel-transient: Use proper ellipsis for consistent UI
* gptel-transient.el (gptel-option-overlaid): Use a proper ellipsis (…) instead of three ASCII dots (...) when truncating the user instruction, provided Unicode is displayable and `truncate-string-ellipsis' is nil. This change allows for two additional characters and enhances visual appeal and consistency.
1 parent 285856e commit d9c5b07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gptel-transient.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ Also format its value in the Transient menu."
532532
(add-hook 'transient-exit-hook ov-clear-hook)))
533533
;; Updating transient menu display
534534
(if value
535-
(propertize (concat argument (truncate-string-to-width value 25 nil nil "..."))
535+
(propertize (concat argument (truncate-string-to-width value 25 nil nil 'ellipsis))
536536
'face 'transient-value)
537537
(propertize
538538
(concat "(" (symbol-name (oref obj display-nil)) ")")

0 commit comments

Comments
 (0)