rtfm-filemanager 3.25 → 3.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/rtfm +8 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c368f9da8daffeb9d96a7146461f4096e8ccf318f4d0d73aca2ab3e7ff75d6f
|
4
|
+
data.tar.gz: c2dfc4cd08b433889845f9ba6dd8db9e1e5d3808823122512f296e4d9504526c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19830eba041d7e3fe97761dba69b1feabefff19e5e434acdaf9449383aaf31da63f01a28e0c43fa29ac524ebd1bf1487462f00ef0609976c4c434ebe9c725a3c
|
7
|
+
data.tar.gz: 26ec6f0a1df169afab02a4b245121d2639591cfa241bee40f3e54ae47cdba65d2b2ec14cc44dd9bc54b96ec51c505553b4073cbdda66646c8020d166f1a656f8
|
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
|
+
@version = "3.26"
|
18
18
|
|
19
19
|
# PRELIMINARIES
|
20
20
|
@help = <<HELPTEXT
|
@@ -395,6 +395,7 @@ def getchr # PROCESS KEY PRESSES
|
|
395
395
|
when /[[:print:]]/ then chr = c
|
396
396
|
else chr = ""
|
397
397
|
end
|
398
|
+
stdin_clear
|
398
399
|
return chr
|
399
400
|
end
|
400
401
|
def main_getkey # GET KEY FROM USER
|
@@ -941,6 +942,12 @@ def main_getkey # GET KEY FROM USER
|
|
941
942
|
rescue
|
942
943
|
end
|
943
944
|
end
|
945
|
+
def stdin_clear
|
946
|
+
begin
|
947
|
+
$stdin.getc while $stdin.ready?
|
948
|
+
rescue
|
949
|
+
end
|
950
|
+
end
|
944
951
|
def conf_write
|
945
952
|
if File.exist?(Dir.home+'/.rtfm.conf')
|
946
953
|
conf = File.read(Dir.home+'/.rtfm.conf')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rtfm-filemanager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '3.
|
4
|
+
version: '3.26'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geir Isene
|
@@ -47,7 +47,7 @@ dependencies:
|
|
47
47
|
description: 'A full featured terminal browser with syntax highlighted files, images
|
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
|
-
other features. New in 3.
|
50
|
+
other features. New in 3.26: Safeguarded against potential input bugs.'
|
51
51
|
email: g@isene.com
|
52
52
|
executables:
|
53
53
|
- rtfm
|