From a2d1cd84a35afa0e5e4c84ce664395098624154b Mon Sep 17 00:00:00 2001 From: Miranda Marquez Date: Sun, 28 Jul 2024 17:34:47 -0800 Subject: [PATCH] make pretty terminal box glyph actually work --- init.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/init.el b/init.el index 7a8d18e..2985617 100644 --- a/init.el +++ b/init.el @@ -40,10 +40,9 @@ declarations for color schemes." (add-to-list 'default-frame-alist '(cursor-color . "white")) (add-to-list 'default-frame-alist '(fullscreen . maximized))) ;; see also https://emacs.stackexchange.com/questions/7228/nice-tty-window-borders-in-24-4 - (unless (display-graphic-p) - (let ((display-table (or standard-display-table (make-display-table)))) - (set-display-table-slot display-table 'vertical-border (make-glyph-code ?│)) - (setq standard-display-table display-table)))) + (let ((display-table (or standard-display-table (make-display-table)))) + (set-display-table-slot display-table 'vertical-border (make-glyph-code ?│)) + (setq standard-display-table display-table))) (defun mir/graphical-setup () "Commands to run at the beginning of init when on a graphical display. This prevents errors in termux and speeds up init when editing from the