rtfm-filemanager 5.3 → 5.4

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 +1 -16
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5c4c96bdd6233e172010bbec5e5bd688577e4e3cf3f0b3a44afc09b525f5a5c
4
- data.tar.gz: 126dcfae1c03069994cc07f1768869c7537d4378980faf94cba3685dcd9a3f38
3
+ metadata.gz: 8b36bdc259840435d9b71deaea0bee4abdb1facdd3b0371549fc49d90c01fc92
4
+ data.tar.gz: d0c48761155ca6e31bf2a0ec78004925e1f2ae1e41bb944f885a4cf923c339a2
5
5
  SHA512:
6
- metadata.gz: 9b8d9078f3367359be3fd636743d1bcab0f55f39552c32f9aa2184a2af1549b5fcc65af229bf9c0919ec9bab51ca7ba4c9746ffac9aa75d2e6e403386c2f0de0
7
- data.tar.gz: ec54070dccc42249f13c7c3bef21cc9032040e296ea9cd029f24019517ac938d322313b783e5bf22d72db00f8865ac144a23f04b3b5649c923fa012ee3d205ac
6
+ metadata.gz: d7fedf5273a6d46f61d3f328d379f2c480d9b21375a837765803c59b29eca9631f5e5a862ca9346497c6e73b38a6c40a84b0215db28f6c574e721a1ffd237c0a
7
+ data.tar.gz: 3f49418f17c471b2d8f2ab60e450cc41cca89c64b857921d47bf9891dbed980a55b76aa5b0d8044061c1bab60144d1dde0c0f1f532e813c56b485b767eed7c41
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 = '5.3' # Simpler opening of Editor for text files
21
+ @version = '5.4' # Removed tty startup/exit codes as rcurses now handles that
22
22
 
23
23
  # BOOTSNAP {{{1
24
24
  cache_dir = ENV.fetch('BOOTSNAP_CACHE_DIR', File.join(Dir.home, '.rtfm', 'bootsnap-cache'))
@@ -1906,11 +1906,6 @@ def exit_rtfm # CLEAN EXIT {{{2
1906
1906
  rescue StandardError # rubocop:disable Lint/SuppressedException
1907
1907
  end
1908
1908
  end
1909
- # Restore terminal state
1910
- $stdin.cooked!
1911
- $stdin.echo = true
1912
- Rcurses.clear_screen
1913
- Cursor.show
1914
1909
  # Also record for the 'r' launcher
1915
1910
  last = File.join(Dir.home, '.rtfm_last_dir')
1916
1911
  begin
@@ -2150,9 +2145,6 @@ Signal.trap('WINCH') do
2150
2145
  render
2151
2146
  end
2152
2147
 
2153
- ## Set terminal to raw w/o echo {{{2
2154
- $stdin.raw!
2155
- $stdin.echo = false
2156
2148
 
2157
2149
  ## One-time flush {{{2
2158
2150
  $stdin.getc while $stdin.wait_readable(0)
@@ -2178,11 +2170,4 @@ rescue StandardError => e
2178
2170
  errormsg('⚠ Internal Error', e)
2179
2171
  end
2180
2172
 
2181
- at_exit do # Always restore terminal state on quit (or fatal)
2182
- $stdin.cooked!
2183
- $stdin.echo = true
2184
- Rcurses.clear_screen
2185
- Cursor.show
2186
- end
2187
-
2188
2173
  # vim: set sw=2 sts=2 et fdm=marker fdn=2 fcs=fold\:\ :
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: '5.3'
4
+ version: '5.4'
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-05-09 00:00:00.000000000 Z
11
+ date: 2025-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rcurses
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '7.4'
55
55
  description: |-
56
56
  Major release - RTFM v5: Complete rewrite using rcurses (https://github.com/isene/rcurses). Massive improvements. AI integration.
57
- A full featured terminal browser with syntax highlighted files, images shown in the terminal, videos thumbnailed, etc. 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. 5.3: Simpler opening of Editor for text files.
57
+ A full featured terminal browser with syntax highlighted files, images shown in the terminal, videos thumbnailed, etc. 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. 5.4: Removed tty startup/exit codes as rcurses now handles that.
58
58
  email: g@isene.com
59
59
  executables:
60
60
  - rtfm