rtfm-filemanager 1.5.2 → 1.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/rtfm +15 -5
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6f194c1fffc6901d52041ffe687b4880cbd948a150a6917dc2c181c65aaf674
|
4
|
+
data.tar.gz: fe7bc722683be3375c84897c3128e09149f839859a3ae3246dcac8611c6f5643
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5a6d8051cb8d64e426db0b35a7b88aeba64b493e1b99a0ba6659d214cd2510d79dc5b62786eb1b57d8d8c6980465e8f150441d8e265f1ed71a5ea9c59d04e32
|
7
|
+
data.tar.gz: 56f1089b663786fe0d5aaefc73db51a446500c5f2807ba76baadc014f143c6b6a88bd3e3a6610326c171ee1f84abd945d684935804e950d8786070e6acbfc4fd
|
data/bin/rtfm
CHANGED
@@ -672,14 +672,17 @@ def main_getkey # GET KEY FROM USER
|
|
672
672
|
when '@' # Enter "Ruby debug"
|
673
673
|
@w_b.nohistory = true
|
674
674
|
cmd = w_b_getstr("◆ ", "")
|
675
|
+
@w_b.clr
|
676
|
+
@w_b.refresh
|
677
|
+
@w_b.update = true
|
675
678
|
@w_r.clr
|
676
|
-
|
677
|
-
@w_r.refresh
|
679
|
+
info = "Command: #{cmd}\n\n"
|
678
680
|
begin
|
679
|
-
eval(cmd)
|
681
|
+
info += eval(cmd).to_s
|
680
682
|
rescue StandardError => e
|
681
|
-
|
683
|
+
info += "Error: #{e.inspect}"
|
682
684
|
end
|
685
|
+
w_r_info(info)
|
683
686
|
@w_r.update = false
|
684
687
|
end
|
685
688
|
if @w_r.update == true
|
@@ -993,12 +996,19 @@ def w_r_doc # GET FULL CONTENT TO PAGE
|
|
993
996
|
@w_r << @w_r.text
|
994
997
|
end
|
995
998
|
def w_r_info(info) # SHOW INFO IN THE RIGHT WINDOW
|
999
|
+
image_show("clear") if @image; @image = false
|
1000
|
+
@w_r.clr
|
1001
|
+
@w_r. refresh
|
1002
|
+
w_r_width = Curses.cols - (Curses.cols/@width) - 1
|
1003
|
+
info = info.split("\n")
|
1004
|
+
l = []
|
1005
|
+
info.each{ |e| l << e.scan(/.{,#{w_r_width}}/)[0..-2] }
|
1006
|
+
info = l.join("\n")
|
996
1007
|
@w_r.text = info
|
997
1008
|
@w_r.pager_cmd = ""
|
998
1009
|
pager_start
|
999
1010
|
pager_show
|
1000
1011
|
@w_r.update = false
|
1001
|
-
image_show("clear") if @image; @image = false
|
1002
1012
|
end
|
1003
1013
|
def marks_info # SHOW MARKS IN RIGHT WINDOW
|
1004
1014
|
info = "MARKS:\n"
|
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: 1.5.
|
4
|
+
version: 1.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geir Isene
|
@@ -34,9 +34,8 @@ description: 'A full featured terminal browser with syntax highlighted files, im
|
|
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
36
|
other features. New in 1.5.0: Expanded ''/'' to jump to the first match and ''n''
|
37
|
-
to jump to the next matched item (''j'' and ''J'' are now gone). New in 1.5.
|
38
|
-
|
39
|
-
for ''n'' and ''N'''
|
37
|
+
to jump to the next matched item (''j'' and ''J'' are now gone). New in 1.5.3: Fixed
|
38
|
+
output of Ruby commands (via the ''@'' key)'
|
40
39
|
email: g@isene.com
|
41
40
|
executables:
|
42
41
|
- rtfm
|