rtfm-filemanager 1.5.4 → 1.5.8
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 +5 -3
- metadata +4 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb9c754c723123c8719d88c03d3f38b5cb21067713e816194eadf8ebe8448d35
|
4
|
+
data.tar.gz: 125cb3fd81f9ce6c0bf1d6113ccddb53a529d148581fc8ff63fced3b6bef7b0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e86dbf15d58be6cc3a79eb2cfa961d383833b3acc65a83d31b39757f602aef20abf5badb0888e2e5ceac66d64867b8613101c201fae50d88cadf2342e295f16e
|
7
|
+
data.tar.gz: 27ab77e3511bf2b01f648b1522008f88d005f33ba52be6bf1e8e3aed9cf546d4cff4204b1889a707307f7b255893c1cb45fd5d75044bb836eac3b9c333ae8f87
|
data/bin/rtfm
CHANGED
@@ -242,7 +242,7 @@ def getchr # PROCESS KEY PRESSES
|
|
242
242
|
# Note: Curses.getch blanks out @w_t
|
243
243
|
# @w_l.getch makes Curses::KEY_DOWN etc not work
|
244
244
|
# Therefore resorting to the generic method
|
245
|
-
c = STDIN.getch(min: 0, time:
|
245
|
+
c = STDIN.getch(min: 0, time: 0.1)
|
246
246
|
case c
|
247
247
|
when "\e" # ANSI escape sequences
|
248
248
|
case $stdin.getc
|
@@ -624,8 +624,7 @@ def main_getkey # GET KEY FROM USER
|
|
624
624
|
@searched = w_b_getstr("/ ", "")
|
625
625
|
l = `ls #{@lsbase} #{@lsall} #{@lsorder} #{@lsinvert} #{@lsuser}`.split
|
626
626
|
m = l.each_index.select{|n| l[n] =~ /#{@searched}/}
|
627
|
-
|
628
|
-
@index = i if i > @index unless i == nil
|
627
|
+
@index = m[0] unless m == []
|
629
628
|
@index = 0 if @searched == ""
|
630
629
|
@w_r.update = true
|
631
630
|
when 'n'
|
@@ -1307,6 +1306,9 @@ loop do # OUTER LOOP - CATCHING REFRESHES VIA 'r'
|
|
1307
1306
|
@w_b = Curses::Window.new(1, 0, maxy - 1, 0)
|
1308
1307
|
@w_l = Curses::Window.new(maxy - 3, (maxx/@width) - 1, 2, 0)
|
1309
1308
|
@w_r = Curses::Window.new(maxy - 4, maxx - (maxx/@width), 2, maxx/@width)
|
1309
|
+
@w_p = Curses::Window.new(1, maxx - (maxx/@width), maxy - 2, maxx/@width)
|
1310
|
+
@w_p.fg, @w_p.bg = 255, 0
|
1311
|
+
@w_p.refresh
|
1310
1312
|
@w_t.fg, @w_t.bg = 232, 249
|
1311
1313
|
@w_t.attr = Curses::A_BOLD
|
1312
1314
|
@w_b.fg, @w_b.bg = 250, 238
|
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.5.
|
4
|
+
version: 1.5.8
|
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-11-
|
11
|
+
date: 2021-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: curses
|
@@ -33,9 +33,8 @@ dependencies:
|
|
33
33
|
description: 'A full featured terminal browser with syntax highlighted files, images
|
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
|
-
other features. New in 1.5.
|
37
|
-
|
38
|
-
command output error - now shown in raght pane.'
|
36
|
+
other features. New in 1.5.7: Made the application more responsive to window size
|
37
|
+
changes.'
|
39
38
|
email: g@isene.com
|
40
39
|
executables:
|
41
40
|
- rtfm
|