Disabled hack to set bottom line in terminals color as background

This commit is contained in:
Andrea Ciceri 2023-04-07 12:15:52 +02:00
parent 9699ce1825
commit 27c3769f0e
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
2 changed files with 9 additions and 10 deletions

17
init.el
View file

@ -73,14 +73,15 @@
(global-auto-revert-mode t) (global-auto-revert-mode t)
(show-paren-mode 1) (show-paren-mode 1)
(column-number-mode 1) (column-number-mode 1)
(advice-add 'enable-theme ;; FIXME when running running Emacs as daemon
:after ;; (advice-add 'enable-theme
#'(lambda (&rest rest) ;; :after
(set-face-background 'vertical-border (face-background 'default)) ;; #'(lambda (&rest rest)
(let* ((bg-color (face-attribute 'default :background)) ;; (set-face-background 'vertical-border (face-background 'default))
(ansi-command (format "\033]11;#%s\007" ;; (let* ((bg-color (face-attribute 'default :background))
(string-remove-prefix "#" bg-color)))) ;; (ansi-command (format "\033]11;#%s\007"
(send-string-to-terminal ansi-command)))) ;; (string-remove-prefix "#" bg-color))))
;; (send-string-to-terminal ansi-command))))
(defun reset-terminal () (send-string-to-terminal "\033c")) (defun reset-terminal () (send-string-to-terminal "\033c"))
(add-hook 'kill-emacs-hook #'reset-terminal) (add-hook 'kill-emacs-hook #'reset-terminal)
(ef-themes-select 'ef-day) (ef-themes-select 'ef-day)

View file

@ -52,6 +52,4 @@
default = self'.apps.ccrEmacs; default = self'.apps.ccrEmacs;
}; };
}; };
flake.hydraJobs.emacs = self.packages.x86_64-linux;
} }