rtfm-filemanager 3.14.1592 → 3.14.15926

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 -2
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f628734291b6d3887cdb939bcb04a3981dbbc2ca67a353c3e153ac646ec9a52
4
- data.tar.gz: 020fa1fe9fe9929ea513b1eb71f393f829a3ffea7fefce38736c5048b1be320d
3
+ metadata.gz: 47456126ce23cb078cb43b72b682193e41575a2a04d1ae5443edfa30b9452ae6
4
+ data.tar.gz: 6d56b7e6cb7c4a0325fb4126a019f7eb0ecda1911666e93cb0bfe901eb6ecd78
5
5
  SHA512:
6
- metadata.gz: f2a43370c508e85081565eaf7d329511e597dd635db6680893d0d63a4ad1febe3d5085942b45ecb8340d84ff62abd47589719ea71399f70d8a52b5c2eee1d121
7
- data.tar.gz: 33ba3c9662061933a4896def9814661caed601f9b794f30a030f5c7571cc406af7b120b2cf94c122d0cf723ed1e0cb5e29783d0c6f26897296c0ac63af4bdc91
6
+ metadata.gz: 2aa6b5e5587694a25c0fe2585ebad742733c2608da03f55c57517b2fc02fca148e6d10f264b5993c052a9d381a32a6d43fdbfb3b62ef42bd8bbc856163aeb444
7
+ data.tar.gz: 9c76b6bdaaf7c3f12f551f31d2c6ec81c7d1890dcbadd96f24d75ad297be9e4f53e6217fc606d7be7ff7cde6ac8d170be13aa7695f8d2a0f42c1e4eca6a76769
data/bin/rtfm CHANGED
@@ -14,7 +14,7 @@
14
14
  # for any damages resulting from its use. Further, I am under no
15
15
  # obligation to maintain or extend this software. It is provided
16
16
  # on an 'as is' basis without any expressed or implied warranty.
17
- @version = "3.14.1592"
17
+ @version = "3.14.15926"
18
18
 
19
19
  # PRELIMINARIES
20
20
  @help = <<HELPTEXT
@@ -1066,7 +1066,9 @@ def list_dir(active) # LIST CONTENT OF A DIRECTORY (BOTH active AND RIGHT WINDOW
1066
1066
  base_length = base_name.length
1067
1067
  ext_name = File.extname(str)
1068
1068
  ext_length = ext_name.length
1069
- nbl = win.maxx - 6 - ext_length # nbl: new_base_length
1069
+ nbl = win.maxx - 5 - ext_length # nbl: new_base_length
1070
+ nbl -= 1 if dir != "" # Account for one extra character
1071
+ nbl -= 1 if link != "" # Account for one extra character
1070
1072
  str = base_name[0..nbl] + "…" + ext_name
1071
1073
  end
1072
1074
  if !active and ix == win.maxy - 1 # Add indicator of more at bottom @w_r list
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: 3.14.1592
4
+ version: 3.14.15926
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geir Isene
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-17 00:00:00.000000000 Z
11
+ date: 2024-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: curses
@@ -48,7 +48,7 @@ description: 'A full featured terminal browser with syntax highlighted files, im
48
48
  shown in the terminal, videos thumbnailed, etc. You can bookmark and jump around
49
49
  easily, delete, rename, copy, symlink and move files. RTFM has a a wide range of
50
50
  other features. New in 3.14: Better error handling. 3.14.1: Fixed bug in launching
51
- rtfm without the launcher ''r''. 3.14.1592: Minor fix for long filenames.'
51
+ rtfm without the launcher ''r''. 3.14.15926: Better fix for long entries.'
52
52
  email: g@isene.com
53
53
  executables:
54
54
  - rtfm