commit 733b63bb68af25da88bd45eed5959c845a514766
parent 1b9a424d1fd4ea16544fd6162960e0e80dbcf538
Author: Lou Woell <lou.woell@posteo.de>
Date: Thu, 4 Sep 2025 00:38:03 +0200
[haredoc.el] Some more formatting for the help buffer
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/haredoc.el b/haredoc.el
@@ -65,12 +65,12 @@ the results in a new buffer."
(cond
(sign sign)
(t (hare/read-module))))
-
(command (concat "haredoc -a -F tty " current-word))
(output (shell-command-to-string command))
(buffer-name "*haredoc*"))
(with-output-to-temp-buffer buffer-name
(with-current-buffer buffer-name
+ (insert "\033[1;4m" current-word "\033[0m\n\n")
(insert output)
(ansi-color-apply-on-region (point-min) (point-max))
(haredoc-mode)))))