Disabled hack to set bottom line in terminals color as background
This commit is contained in:
parent
9699ce1825
commit
27c3769f0e
2 changed files with 9 additions and 10 deletions
17
init.el
17
init.el
|
@ -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)
|
||||||
|
|
|
@ -52,6 +52,4 @@
|
||||||
default = self'.apps.ccrEmacs;
|
default = self'.apps.ccrEmacs;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
flake.hydraJobs.emacs = self.packages.x86_64-linux;
|
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue