diff options
| author | Craig Jennings <c@cjennings.net> | 2026-04-04 16:41:02 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-04-04 16:41:02 -0500 |
| commit | 797fa7a6f51211b1218a2c08ce57dbbab835610c (patch) | |
| tree | 0be7523e8473f29d0d76271450fd6aaab485e7b1 /wttrin.el | |
| parent | 5463f104165185501be9cd6f7458d1b0cad856de (diff) | |
| download | emacs-wttrin-797fa7a6f51211b1218a2c08ce57dbbab835610c.tar.gz emacs-wttrin-797fa7a6f51211b1218a2c08ce57dbbab835610c.zip | |
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.
Diffstat (limited to 'wttrin.el')
| -rw-r--r-- | wttrin.el | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |
