summaryrefslogtreecommitdiff
path: root/src/wasp-chat.el
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-04-26 23:47:18 -0400
committerLLLL Colonq <llll@colonq>2026-04-26 23:47:18 -0400
commit75e005e81b73d8471f16dc5fad7bbdc312bdbfe7 (patch)
tree1ad7d61b04c44fc52b453aef44868a42012f3551 /src/wasp-chat.el
parentcf266a56f30daae8b9af7c9bc3267c61b1973192 (diff)
Diffstat (limited to 'src/wasp-chat.el')
-rw-r--r--src/wasp-chat.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wasp-chat.el b/src/wasp-chat.el
index b20d897d..4a6fb3e0 100644
--- a/src/wasp-chat.el
+++ b/src/wasp-chat.el
@@ -309,12 +309,13 @@ Optionally, return the buffer NM in chat mode."
)
))
(insert (s-replace-all w/chat-substitutions (w/. text msg)))
+ (insert " ")
(when (w/. biblicality msg)
(let* ((wwidth (- (window-total-width (get-buffer-window (current-buffer))) 3))
(bible-button-text (format "[biblicality %.2f]" (w/. biblicality msg)))
;; (bible-button-text (format "[medicality %.2f]" (w/. biblicality msg)))
;; (bible-button-text (format "[pollicality %.2f]" (w/. biblicality msg)))
- (msgwidth (line-beginning-position))
+ (msgwidth (- (point) (line-beginning-position)))
(lines (+ 1 (/ msgwidth wwidth))))
(w/overlay-chat msg)
(insert