rtfm-filemanager 6.0.11 → 6.0.12

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 (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/rtfm +3 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3bd4479747f5beca81bc4706028e03670623f615a03b57fa0977b05ab3f545f3
4
- data.tar.gz: 02b5fa470a870fd2bfb911047ac0bf753a3147800722c2ad6e39b28f0c0f56bf
3
+ metadata.gz: f23c3145187f23f9fe272f2c71d8800994d9da6cecd7469076848114235d73ee
4
+ data.tar.gz: 8e3c2cdfffd409ce6f0ceb5096bf5f1ac93ac70e054e8900d1ac3babd333d83c
5
5
  SHA512:
6
- metadata.gz: 1804a401ce8f0c2a95bd87b652e06f8bbdd7982f22989ba615938b831a8a3bf19a08f2a7d4702b985e66c650cff930766cdc5d3d5081d0e6a205f9056f34e39b
7
- data.tar.gz: 5f98f9999120a4bc6d2529f01770c5f87d35bded515f63514b162a153b1c089d712e9d86bbb4610d4c956229e2a961173cf6c5fdcf1475d3508b5a104f429a6b
6
+ metadata.gz: 62d243203be50d5e9f42b87781a0b2da754286022c97f6fb1119059c97c750ca90147a361e938d572bfca3cf5ef4ba80b14bd0fbf1b864778d247dde51255740
7
+ data.tar.gz: 0e7819b401b9173ca52ac69e3c8eca6c1d11072f5d60e2ac631877546f09ab4fcd58a45951b648f178a601a39bff01dc143bafb7015710c0720ad43f21c5106f
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.11' # Added SVG file preview support with ImageMagick conversion
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
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: 6.0.11
4
+ version: 6.0.12
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-03 00:00:00.000000000 Z
11
+ date: 2025-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rcurses
@@ -53,7 +53,7 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '7.4'
55
55
  description: |-
56
- RTFM v6.0.11: Added SVG file preview support with ImageMagick conversion to PNG for display.
56
+ RTFM v6.0.12: Fixed terminal state issue causing multiple keypresses required in VIM when opening text files.
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: