diff options
author | jao <jao@gnu.org> | 2022-09-23 01:04:36 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-09-23 01:04:36 +0100 |
commit | ae8e24df46851ff7e597d5f0c233d75a8c850ece (patch) | |
tree | 352b2466e8262b8da0f0764b6bf3d1bfce1e2038 | |
parent | 6e3513a1e72c3ecb2706129cccf1f32331c060b8 (diff) | |
download | elibs-ae8e24df46851ff7e597d5f0c233d75a8c850ece.tar.gz elibs-ae8e24df46851ff7e597d5f0c233d75a8c850ece.tar.bz2 |
telega: proper external viewer for tty
-rw-r--r-- | init.el | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -2685,7 +2685,11 @@ (propertize "| " 'face 'jao-themes-dimm) telega-mode-line-string-format '(:eval (telega-mode-line-unread-unmuted)) - telega-use-images (display-graphic-p)) + telega-use-images (display-graphic-p) + telega-open-file-function + (if (display-graphic-p) #'find-file #'jao--see) + telega-open-message-as-file + (unless (display-graphic-p) '(photo video animation))) (with-eval-after-load "tracking" (jao-shorten-modes 'telega-chat-mode) (jao-tracking-faces 'telega-tracking)) |