rtfm-filemanager 8.0.1 → 8.0.2
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 -5
- 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: 2268b6df0d2f7e4c4c3b16441b1d38c60596271205935b7718d85c279ce583d0
|
|
4
|
+
data.tar.gz: 6900af4ed1b6b7ff9be6d6d62dc688c62f937dd752bc9a2e164b8eddca243c1b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 45bc4528912e89d2002139c15c80b214b4824aaa0113f49269ed390bafb15c8a065a4602346abef6bd7163876b8e9d432784d5678d22b88184c48de5fbe33398
|
|
7
|
+
data.tar.gz: cb124815c4ace418b44d82f2bfadca9b1d7dec1b65d46beddc9c77009ccb5d21eea9b0e88fc2d98522935c7622d7187fe8ce28472ff3af1cc13e636cb5a80f12
|
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 = '8.0.
|
|
21
|
+
@version = '8.0.2' # Archive browsing, async file ops, scrollable diff viewer
|
|
22
22
|
|
|
23
23
|
# SAVE & STORE TERMINAL {{{1
|
|
24
24
|
ORIG_STTY = `stty -g`.chomp
|
|
@@ -2564,9 +2564,9 @@ end
|
|
|
2564
2564
|
def render_side_by_side(lines1, lines2, name1, name2, offset, page_height) # {{{3
|
|
2565
2565
|
half_width = (@pR.w - 7) / 2
|
|
2566
2566
|
half_width = [half_width, 10].max
|
|
2567
|
-
text = "\n"
|
|
2568
|
-
text << sprintf(" %-#{half_width}s
|
|
2569
|
-
text << " " + "
|
|
2567
|
+
text = +"\n"
|
|
2568
|
+
text << sprintf(" %-#{half_width}s \u2502 %s\n", name1[0, half_width], name2[0, half_width]).fg(226)
|
|
2569
|
+
text << " " + "\u2500" * half_width + "\u2500\u253C\u2500" + "\u2500" * half_width + "\n"
|
|
2570
2570
|
|
|
2571
2571
|
max_lines = [lines1.size, lines2.size].max
|
|
2572
2572
|
end_line = [offset + page_height, max_lines].min
|
|
@@ -2577,7 +2577,7 @@ def render_side_by_side(lines1, lines2, name1, name2, offset, page_height) # {{{
|
|
|
2577
2577
|
same = lines1[i] == lines2[i]
|
|
2578
2578
|
color = same ? 240 : (lines1[i].nil? ? 156 : (lines2[i].nil? ? 196 : 226))
|
|
2579
2579
|
|
|
2580
|
-
text << sprintf(" %-#{half_width}s
|
|
2580
|
+
text << sprintf(" %-#{half_width}s \u2502 %s\n", l1, l2).fg(color)
|
|
2581
2581
|
end
|
|
2582
2582
|
|
|
2583
2583
|
text
|
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: 8.0.
|
|
4
|
+
version: 8.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Geir Isene
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rcurses
|