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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/rtfm +4 -3
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7b24f15e8af4deff5b71206bffb91a9ae3bcfb23b5e824a17fc27cd355f79e9
4
- data.tar.gz: 619ee0583a9df68125aea192843df1a6179c79dffc07f1d34d1bb2c3d3541565
3
+ metadata.gz: bf493d83fee60a64a7e96aa22ce90f194e921cbaa2f43978ab27372b76f4358c
4
+ data.tar.gz: 05237ec325e5ad63750ded55a7ca0fbcfd6adb8492b88be3b664376f494ab17a
5
5
  SHA512:
6
- metadata.gz: 1af7ba0a02a1c148bfdef3b18ba00493105cdc3e8ab1f93189689d7257d5ed40f9d9063cb9f1d0a6d01a34daffb7203825cd983d0c20ee6af79cacfbe2975869
7
- data.tar.gz: 87fb16143badb66e1dec1a6443c961bf912fdaa0ea0385329d49a0c52403d9ce11dba0a45067f956bb07b5ab5ab4b57ed5f58cd6874bb755d33494d3a7546d23
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
- @w3mimgdisplay = "/usr/lib/w3m/w3mimgdisplay"
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;" | #{@w3mimgdisplay} 2>/dev/null`
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;" | #{@w3mimgdisplay} 2>/dev/null`
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.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-01-19 00:00:00.000000000 Z
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.8: Fixed color parsing for Kitty and other terminals.'
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