rtfm-filemanager 1.1.3 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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: 1573528d1d7b7c001f2cd4a175b0bd17fd125451ad835827f5db2af5c3901a75
|
4
|
+
data.tar.gz: bc533e59f667fa9e4b336a3335bb6e5cce39fbd44c7da222fcef1faf919ae9e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97c41dc5d06e8ec8813f36fb4f875f9eab860b9f04c8e51d681038e951c4e3f7ffadbcdfcd88ebab872101f1762f582106195917d4125ac58152bad2339f0d60
|
7
|
+
data.tar.gz: 225d46eebe4fd20be74a06d6a8c2c3b87d72f8c0a435a2856f7153d1b312589ebfbafc2066a069c2e93b57ce9ca8bd038da048b3486814caa8f358bbad2857e2
|
data/bin/rtfm
CHANGED
@@ -81,7 +81,7 @@ RIGHT PANE
|
|
81
81
|
|
82
82
|
ADDITINAL COMMANDS
|
83
83
|
/ = Enter search string in bottom window to highlight matching items
|
84
|
-
: = Enter "command mode" in bottom window
|
84
|
+
: = Enter "command mode" in bottom window (press ENTER to execute, press Ctrl-G to escape)
|
85
85
|
; = Show command history in right pane
|
86
86
|
y = Copy path of selected item to primary selection (for pasting with middle mouse button)
|
87
87
|
Y = Copy path of selected item to clipboard
|
@@ -259,6 +259,7 @@ def getchr # PROCESS KEY PRESSES
|
|
259
259
|
when "" then chr = "WBACK"
|
260
260
|
when "" then chr = "LDEL"
|
261
261
|
when "" then chr = "C-T"
|
262
|
+
when "" then chr = "C-G"
|
262
263
|
when "\r" then chr = "ENTER"
|
263
264
|
when "\t" then chr = "TAB"
|
264
265
|
when /./ then chr = c
|
@@ -1045,6 +1046,12 @@ def w_b_getstr(pretext, text) # A SIMPLE READLINE-LIKE ROUTINE
|
|
1045
1046
|
@w_b.setpos(0,pretext.length + pos)
|
1046
1047
|
@w_b.refresh
|
1047
1048
|
chr = getchr
|
1049
|
+
if chr == "C-G"
|
1050
|
+
Curses.curs_set(0)
|
1051
|
+
Curses.noecho
|
1052
|
+
@w_b.update = true
|
1053
|
+
return ""
|
1054
|
+
end
|
1048
1055
|
case chr
|
1049
1056
|
when 'UP'
|
1050
1057
|
unless @w_b.nohistory
|
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.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geir Isene
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: curses
|