From 797fa7a6f51211b1218a2c08ce57dbbab835610c Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 4 Apr 2026 16:41:02 -0500 Subject: fix: weather ASCII art wraps when window is narrow Enable truncate-lines in wttrin-mode so the fixed-width weather art clips at the window edge instead of wrapping and breaking the layout. --- wttrin.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'wttrin.el') diff --git a/wttrin.el b/wttrin.el index 2dc231d..55b3e4b 100644 --- a/wttrin.el +++ b/wttrin.el @@ -370,6 +370,8 @@ Weather data is displayed in a read-only buffer with the following keybindings: \\{wttrin-mode-map}" (buffer-disable-undo) + ;; ASCII art breaks if lines wrap at the window edge + (setq truncate-lines t) ;; Use face-remap instead of buffer-face-mode to preserve xterm-color faces (face-remap-add-relative 'default :family wttrin-font-name -- cgit v1.2.3