rtfm-filemanager 7.4.2 → 7.4.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +9 -0
  3. data/bin/rtfm +2 -2
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '018b8cadf670850bb5da46914425bf65bed256bf533619cde79a86981fedd86d'
4
- data.tar.gz: 8108aecb15519303db63c76ff43fbf4cf3bedc328ddfb5feaaed9f976cbdb109
3
+ metadata.gz: dedec26a74a7588dd2702c5e021d310b3a0f75c04aa0f9d6fe77b1faa3cd8d94
4
+ data.tar.gz: 55c68915ea8ecac08e7e9569efb0c2372a14b6b15eb20f780027384ba75aef38
5
5
  SHA512:
6
- metadata.gz: 8b2bf86a29246f99523f33a4d0ce2350acf541eae64dcdfe98be8f0623ec0869b3f534df0e6dda28c9e22f762c395ccfaba5d212ea2abe256b791c1c330422f3
7
- data.tar.gz: 149c13f402fd5a757d427cd5c93dc450baaf9a5bf002cc40594a09a48c721ad076b3ffca56308cf0731d35ba713e9c429ed4853e38db1631becf751e3cd56ada
6
+ metadata.gz: 79bb1f74a96e280a4170048d3dfc8c61f4cd523c313699eeec59187dddbe070cac6612244ea5ca898d8062ea9aa09e9125853592d223210b5dcc556b2fb79eee
7
+ data.tar.gz: aca0a8cdf19728ce003e8065a15339afd9bfe5e9dcfa87c789ceea9225c27ba72f1c824bf8d34d611c9ea06926b6986903e0f363b9f9f901e4d91e21d47832a4
data/CHANGELOG.md CHANGED
@@ -5,6 +5,15 @@ All notable changes to RTFM will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [7.4.3] - 2025-12-09
9
+
10
+ ### Fixed
11
+ - **Display corruption with .docx files** - Fixed left pane display corruption when viewing .docx files
12
+ - Carriage returns (`\r`) from docx2txt output were moving cursor to beginning of line
13
+ - This caused the right pane content to overwrite the left pane's first item prefix
14
+ - Added `tr -d '\r'` filter to docx handler, matching existing PDF handler behavior
15
+ - Left pane file list now displays correctly when previewing Word documents
16
+
8
17
  ## [7.4.1] - 2025-11-04
9
18
 
10
19
  ### Fixed
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 = '7.4.2' # LibreOffice soffice fallback for legacy MS Office formats + ArchLinux support
21
+ @version = '7.4.3' # Fix docx preview corrupting left pane display by filtering carriage returns
22
22
 
23
23
  # SAVE & STORE TERMINAL {{{1
24
24
  ORIG_STTY = `stty -g`.chomp
@@ -836,7 +836,7 @@ preview_specs = {
836
836
  'md' => "pandoc @s -t plain",
837
837
  'pdf' => "pdftotext -f 1 -l 4 @s - | tr -d '\\r'", # Filter carriage returns
838
838
  'odt, odp, odg, odc' => "odt2txt @s",
839
- 'docx' => "docx2txt @s -",
839
+ 'docx' => "docx2txt @s - | tr -d '\\r'", # Filter carriage returns
840
840
  'xlsx' => "ssconvert -O 'separator= ' -T Gnumeric_stf:stf_assistant @s fd://1",
841
841
  'pptx' => "unzip -qc @s | ruby -e '$stdin.each_line{ |i| i.force_encoding(\"ISO-8859-1\").scan(/<a:t>(.+?)<\\/a:t>/).each{ |j| puts j } }'",
842
842
  'doc' => "catdoc @s 2>/dev/null || soffice --headless --cat @s 2>/dev/null",
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: 7.4.2
4
+ version: 7.4.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: 2025-11-09 00:00:00.000000000 Z
11
+ date: 2025-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rcurses
@@ -67,7 +67,7 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '7.4'
69
69
  description: |-
70
- RTFM v7.4.2: Added LibreOffice soffice fallback for legacy MS Office formats (.doc/.xls/.ppt) and comprehensive ArchLinux installation support.
70
+ RTFM v7.4.3: Fixed display corruption when viewing .docx files by filtering carriage returns from docx2txt output.
71
71
  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.
72
72
  email: g@isene.com
73
73
  executables: