rtfm-filemanager 5.8.2 → 5.9

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 +4 -2
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08c5e4af4d6dbb3733790484b19dd8e9e4bb20bae175cbfedefb5cf6439e432e'
4
- data.tar.gz: d5bcd58b749e15c49172da3a62c80091a663c5a15244c232616ec91ccfdf4cc2
3
+ metadata.gz: 3b51c7ac3f1785aaca41165d25820ea6f939b484c750c2f0296d6c6303e360eb
4
+ data.tar.gz: 6971374d4041158bb0a914d141524c625b6323f3609e427397375d53d4be8d2c
5
5
  SHA512:
6
- metadata.gz: b55745561f69f836fa544aa9fdc5f37336b918fadc15ea7653e1c5a9614ba67bc19346bb37a024945a9f839cdc9ad822d919e6b4248734ded17e2a8d0f3af3fe
7
- data.tar.gz: e16e2a07d75ef47c69d4a809e9e968d9011aee2e35e5178cf495ecf3fa4a78207abea45f7690db820cf9a9db7b977b19e3eafc6add761521532f3ae1838f55c5
6
+ metadata.gz: 90bb41b3898f746ecac551330fa68fb1ebf2a130a9ba8627b0623f14f900f5de9701030a11a2a16f05aab430041a5e3d432e53f1cf687ecef6b857ee1d3b70d5
7
+ data.tar.gz: 80188dce4eaa620ed49b5ca078e9099f000a4f5715dc1c026520c7ed207237df276f5765d7f0b3a3993b5533ad6045754ccd0524615b45c9d0d5c7be3eaea41f
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.8.2' # Bug fix for carriage return (also in PDFs)
21
+ @version = '5.9' # Delete/move message in bottom pane, bug fix on terminal restoration
22
22
 
23
23
  # SAVE & STORE TERMINAL {{{1
24
24
  ORIG_STTY = `stty -g`.chomp
@@ -1002,7 +1002,7 @@ def delete_items # {{{3
1002
1002
  end
1003
1003
  @tagged.clear
1004
1004
  refresh_right
1005
- @pR.say("#{past_action} #{paths.size} items#{@trash ? " to #{TRASH_DIR}" : ''}".fg(204))
1005
+ @pB.say("#{past_action} #{paths.size} items#{@trash ? " to #{TRASH_DIR}" : ''}".fg(204))
1006
1006
  else
1007
1007
  @pB.update = true
1008
1008
  end
@@ -1977,8 +1977,10 @@ def open_selected(html = nil) # OPEN SELECTED FILE {{{2
1977
1977
  Cursor.show
1978
1978
  editor = ENV.fetch('EDITOR', 'vi') # Launch $EDITOR on the real TTY
1979
1979
  system("#{editor} #{Shellwords.escape(@selected)}")
1980
+ system('stty raw -echo isig < /dev/tty')
1980
1981
  $stdin.raw!
1981
1982
  $stdin.echo = false
1983
+ Rcurses.init! # Reinitialize rcurses to fix input handling
1982
1984
  Cursor.hide
1983
1985
  Rcurses.clear_screen # Redraw RTFM
1984
1986
  refresh
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.8.2
4
+ version: '5.9'
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-06-17 00:00:00.000000000 Z
11
+ date: 2025-06-29 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.8.2: Bug fix for carriage return (also in PDFs).
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.9: Delete/move message in bottom pane, bug fix on terminal restoration.
58
58
  email: g@isene.com
59
59
  executables:
60
60
  - rtfm