summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorJoseph Rice <mrwildrice@gmail.com>2019-09-19 17:43:45 -0400
committerJoseph Rice <mrwildrice@gmail.com>2019-10-11 03:12:51 -0400
commitb58954d4258bc204c38f635e5209e6c1e2bce743 (patch)
tree0001d44fe692e4c34b0441874b72887ef62bae46 /ranger
parent59932cfb0ce62be99dedc9025a6c560ed738312c (diff)
downloadranger-b58954d4258bc204c38f635e5209e6c1e2bce743.tar.gz
added registry keys for kitty and ueberzug displayers
Diffstat (limited to 'ranger')
-rw-r--r--ranger/ext/img_display.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/ext/img_display.py b/ranger/ext/img_display.py
index abe09327..f9a83ffc 100644
--- a/ranger/ext/img_display.py
+++ b/ranger/ext/img_display.py
@@ -510,6 +510,7 @@ class URXVTImageFSDisplayer(URXVTImageDisplayer):
         return self._get_centered_offsets()
 
 
+@register_image_displayer("kitty")
 class KittyImageDisplayer(ImageDisplayer, FileManagerAware):
     """Implementation of ImageDisplayer for kitty (https://github.com/kovidgoyal/kitty/)
     terminal. It uses the built APC to send commands and data to kitty,
@@ -705,6 +706,7 @@ class KittyImageDisplayer(ImageDisplayer, FileManagerAware):
         #         continue
 
 
+@register_image_displayer("ueberzug")
 class UeberzugImageDisplayer(ImageDisplayer):
     """Implementation of ImageDisplayer using ueberzug.
     Ueberzug can display images in a Xorg session.