rtfm-filemanager 6.0.11 → 7.0.0
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 +6 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be480f6ed1a90820e211e9b3f17a8b2cf48c98e81524081df1c8149932465967
|
4
|
+
data.tar.gz: a64cb2021d07b05a6eec47181e4fb3cc60d2caf6c4474290838a2033f92c0bc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '039702927e0662761a7a5b8865fa681909558c5d7af98012261ef554ce93b2128d263ce2b3d53b946f175f449f64fa54737042ce9a736fbd5c066a4b3817114d'
|
7
|
+
data.tar.gz: 0c56a3bc97e7fa799076866fcbc1c2596d6016b68f18394c2f0ee3b135d543dd34f5b8a03410d10cecd789ef821580da9b3a2818d83be14a0d5f51e2f336ee63
|
data/bin/rtfm
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
# get a great understanding of the code itself by simply sending
|
19
19
|
# or pasting this whole file into you favorite AI for coding with
|
20
20
|
# a prompt like this: "Help me understand every part of this code".
|
21
|
-
@version = '6.0.
|
21
|
+
@version = '6.0.12' # Fixed terminal state issue causing multiple keypresses in VIM
|
22
22
|
|
23
23
|
# SAVE & STORE TERMINAL {{{1
|
24
24
|
ORIG_STTY = `stty -g`.chomp
|
@@ -5043,6 +5043,8 @@ def open_selected(html = nil) # OPEN SELECTED FILE {{{2
|
|
5043
5043
|
if !@selected&.match(@pdffile) && File.size(@selected) < 1_000_000 && File.read(@selected).force_encoding('UTF-8').valid_encoding? # Pure text
|
5044
5044
|
# Save terminal state before launching editor
|
5045
5045
|
system("stty -g < /dev/tty > /tmp/rtfm_stty_$$")
|
5046
|
+
# Reset terminal to sane/cooked mode for editor
|
5047
|
+
system('stty sane < /dev/tty')
|
5046
5048
|
# Clear and reset terminal for editor
|
5047
5049
|
system('clear < /dev/tty > /dev/tty')
|
5048
5050
|
Cursor.show
|
@@ -5456,6 +5458,9 @@ def tagged_info # SHOW THE LIST OF TAGGED ITEMS IN @pR {{{2
|
|
5456
5458
|
end
|
5457
5459
|
|
5458
5460
|
# MAIN PROGRAM {{{1
|
5461
|
+
# Initialize rcurses (required for rcurses 6.0.0+)
|
5462
|
+
Rcurses.init!
|
5463
|
+
|
5459
5464
|
## Get terminal size {{{2
|
5460
5465
|
@h, @w = IO.console.winsize
|
5461
5466
|
|
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:
|
4
|
+
version: 7.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geir Isene
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rcurses
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '6.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '6.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bootsnap
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '7.4'
|
55
55
|
description: |-
|
56
|
-
RTFM
|
56
|
+
RTFM v7.0.0: Breaking change - requires rcurses 6.0.0+ for Ruby 3.4+ compatibility.
|
57
57
|
A full featured terminal browser with syntax highlighted files, images shown in the terminal, videos thumbnailed, etc. Features include remote SSH/SFTP browsing, interactive SSH shell, comprehensive undo system, bookmarks, and much more. You can bookmark and jump around easily, delete, rename, copy, symlink and move files. RTFM is one of the most feature-packed terminal file managers.
|
58
58
|
email: g@isene.com
|
59
59
|
executables:
|