From b2cb688b341b161438ead8410f3c4b3bbb8402a1 Mon Sep 17 00:00:00 2001 From: MitchMarq42 Date: Tue, 1 Nov 2022 14:19:28 -0800 Subject: [PATCH] Pretty terminal splits like in nvim. See commit for sauce. --- lisp/mitch-defuns.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/mitch-defuns.el b/lisp/mitch-defuns.el index f88fc8e..c8d42db 100644 --- a/lisp/mitch-defuns.el +++ b/lisp/mitch-defuns.el @@ -94,7 +94,11 @@ declarations for color schemes." (add-to-list 'initial-frame-alist '(alpha-background . 50)) (add-to-list 'default-frame-alist '(alpha-background . 50)) (add-to-list 'default-frame-alist '(cursor-color . "white")) - (add-to-list 'default-frame-alist '(fullscreen . maximized))) + (add-to-list 'default-frame-alist '(fullscreen . maximized)) + ;; see also https://emacs.stackexchange.com/questions/7228/nice-tty-window-borders-in-24-4 + (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 mitch/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