From 943a2fbb17df9da6a47389e77082a889a552f588 Mon Sep 17 00:00:00 2001 From: plugd Date: Thu, 15 Jul 2021 16:01:49 +0200 Subject: [PATCH] Fixed issue with being able to insert chars into the prompt. --- lurk.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lurk.el b/lurk.el index 5b62ce7..675ec0e 100644 --- a/lurk.el +++ b/lurk.el @@ -351,8 +351,10 @@ portion of the source component of the message, as LURK doesn't use this.") "") 'face 'lurk-context 'read-only t) - (propertize (concat lurk-prompt-string " ") + (propertize lurk-prompt-string 'face 'lurk-prompt + 'read-only t) + (propertize " " ; Need this to be separate to mark it as rear-nonsticky 'read-only t 'rear-nonsticky t))) (set-marker-insertion-type lurk-input-marker nil)) -- 2.20.1