rtfm-filemanager 3.17 → 3.17.1

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 +5 -2
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad84a78780b960bd4b85e38d8139daba9b9ac049e00980c760c789052837b947
4
- data.tar.gz: 33cf4921acdd4082470647fd347f8d7cb8f4d3a15adc321c393c9ba7dc58c065
3
+ metadata.gz: baea05f89ed01da793a84c88aa6ee8128fad9e1665a31cc2fe5006c5e0eb2b0a
4
+ data.tar.gz: 8548de7f5e2ea4ce8ddc8e3e39504b318e530e6644a9fde897e0e6aa17df253a
5
5
  SHA512:
6
- metadata.gz: 99f4824e6b886f711ba3d26fa2bf7b2e6701d5b0634dd38f35d81ee78b983629ba54ac64793eba16d77a7fba2f9b288c039b9439301e77b62562e2f11df3abe6
7
- data.tar.gz: 8252e376be2e90e11286f8e283c30322164cef7cbb1b29eb72b56f01db28da9102a62c632a199989349dfd4cd51bb2c556fb71f8085b8edf702846ad47f69f30
6
+ metadata.gz: f7cef4ec89450186fba8d34b8b9432e269c5614529f3274959653a3fec91918f9d2a45d22fb013eb31b5ef26fae8f6e3008bb4f61ea8d0fb172112b662875a9e
7
+ data.tar.gz: db812461efb11394f9ca3ed78b1354ffc3aeba5c9a3721dff9a61366f29c1142ef86a73b3e187b175e77ddc7a9047b7fe66385ae0829e59256ef102ed1ee290c
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.17"
17
+ @version = "3.17.1"
18
18
 
19
19
  # PRELIMINARIES
20
20
  @help = <<HELPTEXT
@@ -335,6 +335,7 @@ def getchr # PROCESS KEY PRESSES
335
335
  when '6' then chr = "PgDOWN" ; chr = "C-PgDOWN" if STDIN.getc == "^"
336
336
  when '7' then chr = "HOME" ; chr = "C-HOME" if STDIN.getc == "^"
337
337
  when '8' then chr = "END" ; chr = "C-END" if STDIN.getc == "^"
338
+ else chr = ""
338
339
  end
339
340
  when 'O' # Set Ctrl+ArrowKey equal to ArrowKey; May be used for other purposes in the future
340
341
  case STDIN.getc
@@ -342,6 +343,7 @@ def getchr # PROCESS KEY PRESSES
342
343
  when 'b' then chr = "C-DOWN"
343
344
  when 'c' then chr = "C-RIGHT"
344
345
  when 'd' then chr = "C-LEFT"
346
+ else chr = ""
345
347
  end
346
348
  end
347
349
  when "", "" then chr = "BACK"
@@ -359,6 +361,7 @@ def getchr # PROCESS KEY PRESSES
359
361
  when "\r" then chr = "ENTER"
360
362
  when "\t" then chr = "TAB"
361
363
  when /[[:print:]]/ then chr = c
364
+ else chr = ""
362
365
  end
363
366
  return chr
364
367
  end
@@ -905,7 +908,7 @@ def main_getkey # GET KEY FROM USER
905
908
  @w_r.update = true if dir != Dir.pwd
906
909
  rescue
907
910
  end
908
- $STDIN = ""
911
+ #$STDIN = ""
909
912
  end
910
913
  def conf_write
911
914
  if File.exist?(Dir.home+'/.rtfm.conf')
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.17'
4
+ version: 3.17.1
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-09-12 00:00:00.000000000 Z
11
+ date: 2024-09-17 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.17: Fixed an insideous bug by flushing STDIN.'
51
+ rtfm without the launcher ''r''. 3.17.1: Better fix to character input quirk.'
52
52
  email: g@isene.com
53
53
  executables:
54
54
  - rtfm