From 6c84a5639f0befa9bdf8716e297926ddaab53ae9 Mon Sep 17 00:00:00 2001 From: Sascha Grunert Date: Wed, 2 Jan 2019 17:12:13 +0100 Subject: Fix little typo --- ranger/data/scope.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh index 8e0a0f6d..326796e1 100755 --- a/ranger/data/scope.sh +++ b/ranger/data/scope.sh @@ -110,7 +110,7 @@ handle_image() { convert -- "${FILE_PATH}" -auto-orient "${IMAGE_CACHE_PATH}" && exit 6 fi - # `w3mimgdisplay` will be called for all images (unless overriden as above), + # `w3mimgdisplay` will be called for all images (unless overridden as above), # but might fail for unsupported types. exit 7;; -- cgit 1.4.1-2-gfad0 From 8d6b32b77e5a0d53582b8c1801c359574813f3d8 Mon Sep 17 00:00:00 2001 From: Wojciech Siewierski Date: Sun, 6 Jan 2019 15:48:37 +0100 Subject: Fix the Kitty previews in fullscreen mode Fixes #1431. --- ranger/ext/img_display.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ranger/ext/img_display.py b/ranger/ext/img_display.py index 9c84ce5e..7c9f35a7 100644 --- a/ranger/ext/img_display.py +++ b/ranger/ext/img_display.py @@ -484,7 +484,7 @@ class URXVTImageFSDisplayer(URXVTImageDisplayer): return self._get_centered_offsets() -class KittyImageDisplayer(ImageDisplayer): +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, which in turn renders the image. The APC takes the form @@ -649,6 +649,8 @@ class KittyImageDisplayer(ImageDisplayer): # kitty doesn't seem to reply on deletes, checking like we do in draw() # will slows down scrolling with timeouts from select self.image_id -= 1 + self.fm.ui.win.redrawwin() + self.fm.ui.win.refresh() def _format_cmd_str(self, cmd, payload=None, max_slice_len=2048): central_blk = ','.join(["{}={}".format(k, v) for k, v in cmd.items()]).encode('ascii') -- cgit 1.4.1-2-gfad0 From ce38f6c719b1a844d2d56c83a6a7001a3bd0467d Mon Sep 17 00:00:00 2001 From: Markus Lohmayer Date: Mon, 7 Jan 2019 20:27:45 +0100 Subject: changed pip command ; package is called ranger-fm --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 112d2641..5912d12c 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ Optional, for enhanced file previews (with `scope.sh`): Installing ---------- Use the package manager of your operating system to install ranger. -You can also install ranger through PyPI: ```pip install ranger```. +You can also install ranger through PyPI: ```pip install ranger-fm```.
-- cgit 1.4.1-2-gfad0