rtfm-filemanager 4.01 → 4.05

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 +7 -2
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8debb87d4b97ede214c7d3585f6dbc2de4bc908e6f601410247dca689368afcc
4
- data.tar.gz: b8c357bdde901e97ef110fac7bfbc1c7ad4e49c43631cd61bbe83ad0a0ae7ae2
3
+ metadata.gz: 434f36ccbb28a3179e74a85ce846a12e7b896ba23f40949be60d07ba2cc52d61
4
+ data.tar.gz: 22abde55bf362804f49a6115d403d49d135955e738237a51cf5436a90eeb3f11
5
5
  SHA512:
6
- metadata.gz: 1ac88a4682a1259b445b4f0b399cb2492bf1a6d217e7f4c38ecda2607530147c5d527d06f3224c23a83fab645803f17cd74524f394763a6f895d39bd7e0d9927
7
- data.tar.gz: 72bb39e0a4fe632064eeb237d00fd8025824b44c354ef91cf193a7039f535d0bb9d326fef7522e3e38da0e94b6d17ad5ff99e3905ea171a519e4cc203d994414
6
+ metadata.gz: 6993b37af607b5b4532a769f6691fb6ecb88747bef96b785a1e30ac2973ded21ef4a21c55f3d3b068358d03d54bf0c8c04864896b15609f6c37af60ea2e28f89
7
+ data.tar.gz: 6b8fe07dd3a32f226c80df6ad60e6ce8c497cffbc963d6f295758f33cc9981b0ebb4bdceb43efe157f1de27418d89d73802e6c7433f2f72f6339439cbdd1fc70
data/bin/rtfm CHANGED
@@ -14,7 +14,7 @@
14
14
  # for any damages resulting from its use. Further, I am under no
15
15
  # obligation to maintain or extend this software. It is provided
16
16
  # on an 'as is' basis without any expressed or implied warranty.
17
- @version = "4.01" # Added possibility to change top line background when matching a path
17
+ @version = "4.05" # Visual cue when entering commands or Ruby code in bottom line/pane
18
18
 
19
19
  # PRELIMINARIES
20
20
  @help = <<HELPTEXT
@@ -877,6 +877,7 @@ def main_getkey # GET KEY FROM USER
877
877
  @w_r.nohistory = false
878
878
  cmd = w_b_getstr(": ", "")
879
879
  w_b_exec(cmd)
880
+ @w_b.update = true
880
881
  when ';' # Show command history
881
882
  w_r_info("Command history (latest on top):\n\n" + @history.join("\n"))
882
883
  @w_b.update = true
@@ -1498,7 +1499,11 @@ def w_b_getstr(pretext, text, ruby=false) # A SIMPLE READLINE-LIKE ROUTINE
1498
1499
  pos = @history_copy[stk].length
1499
1500
  while chr != "ENTER"
1500
1501
  @w_b.setpos(0,0)
1501
- init_pair(250, 250, 238)
1502
+ if ruby
1503
+ init_pair(250, 250, 52)
1504
+ else
1505
+ init_pair(250, 250, 22)
1506
+ end
1502
1507
  text = pretext + @history_copy[stk]
1503
1508
  text += " " * (@w_b.maxx - text.length) if text.length < @w_b.maxx
1504
1509
  @w_b.attron(color_pair(250)) { @w_b << 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: '4.01'
4
+ version: '4.05'
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-02-22 00:00:00.000000000 Z
11
+ date: 2025-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: curses
@@ -47,8 +47,8 @@ dependencies:
47
47
  description: 'A full featured terminal browser with syntax highlighted files, images
48
48
  shown in the terminal, videos thumbnailed, etc. You can bookmark and jump around
49
49
  easily, delete, rename, copy, symlink and move files. RTFM has a a wide range of
50
- other features. New in 4.01: Added possibility to change top line background when
51
- matching a path.'
50
+ other features. New in 4.05: Visual cue when entering commands or Ruby code in bottom
51
+ line/pane.'
52
52
  email: g@isene.com
53
53
  executables:
54
54
  - rtfm