rtfm-filemanager 1.8.8 → 1.8.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/rtfm +4 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf493d83fee60a64a7e96aa22ce90f194e921cbaa2f43978ab27372b76f4358c
|
4
|
+
data.tar.gz: 05237ec325e5ad63750ded55a7ca0fbcfd6adb8492b88be3b664376f494ab17a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d8bf1b20d5208b0336a41499613100b9c9a8b49d7540c1d8d675140ecc026e2ce40085b4475326f639baccd32afff9b6537b8b4ec7a4fe17f08a3a0264fe399
|
7
|
+
data.tar.gz: 4fd143cca5f4460f8fffb13cecca3a61f0cec8072638fa9b28f39382e8734905581eec50eeaa0f3117a08bd00bf0ad9d7533bf3f2fd4e7b2a209c0b724ab1ebc
|
data/bin/rtfm
CHANGED
@@ -137,7 +137,7 @@ begin # BASIC SETUP
|
|
137
137
|
end
|
138
138
|
|
139
139
|
if cmd?('/usr/lib/w3m/w3mimgdisplay')
|
140
|
-
@
|
140
|
+
@imgdisplay = "/usr/lib/w3m/w3mimgdisplay"
|
141
141
|
@showimage = true
|
142
142
|
else
|
143
143
|
@showimage = false
|
@@ -1102,10 +1102,11 @@ def image_show(image)# SHOW THE SELECTED IMAGE IN THE RIGHT WINDOW
|
|
1102
1102
|
img_max_w = char_w * (Curses.cols - Curses.cols/@width - 2)
|
1103
1103
|
img_max_h = char_h * (Curses.lines - 4)
|
1104
1104
|
if image == "clear"
|
1105
|
+
`clear`
|
1105
1106
|
img_x -= char_w
|
1106
1107
|
img_max_w += char_w + 2
|
1107
1108
|
img_max_h += 2
|
1108
|
-
`echo "6;#{img_x};#{img_y};#{img_max_w};#{img_max_h};\n4;\n3;" | #{@
|
1109
|
+
`echo "6;#{img_x};#{img_y};#{img_max_w};#{img_max_h};\n4;\n3;" | #{@imgdisplay} 2>/dev/null`
|
1109
1110
|
else
|
1110
1111
|
img_w,img_h = `identify -format "%[fx:w]x%[fx:h]" #{image} 2>/dev/null`.split('x')
|
1111
1112
|
img_w = img_w.to_i
|
@@ -1118,7 +1119,7 @@ def image_show(image)# SHOW THE SELECTED IMAGE IN THE RIGHT WINDOW
|
|
1118
1119
|
img_w = img_w * img_max_h / img_h
|
1119
1120
|
img_h = img_max_h
|
1120
1121
|
end
|
1121
|
-
`echo "0;1;#{img_x};#{img_y};#{img_w};#{img_h};;;;;\"#{image}\"\n4;\n3;" | #{@
|
1122
|
+
`echo "0;1;#{img_x};#{img_y};#{img_w};#{img_h};;;;;\"#{image}\"\n4;\n3;" | #{@imgdisplay} 2>/dev/null`
|
1122
1123
|
end
|
1123
1124
|
rescue
|
1124
1125
|
@w_r.clr
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rtfm-filemanager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geir Isene
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: curses
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
description: 'A full featured terminal browser with syntax highlighted files, images
|
34
34
|
shown in the terminal, videos thumbnailed, etc. You can bookmark and jump around
|
35
35
|
easily, delete, rename, copy, symlink and move files. RTFM has a a wide range of
|
36
|
-
other features. New in 1.8.
|
36
|
+
other features. New in 1.8.9: Fixed images overlap in the kitty terminal'
|
37
37
|
email: g@isene.com
|
38
38
|
executables:
|
39
39
|
- rtfm
|