rtfm-filemanager 1.7.1 → 1.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/rtfm +6 -2
  3. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 89f43bcb4ae0440210a8dd8127d94ca1c41c2f5016f09b9432e6ec40385c904a
4
- data.tar.gz: 113c228e891b75d0f766d95849a32c39b2d21b3df3156d7987b52e25154e7968
3
+ metadata.gz: 9f217884d5c1629f2efe87c616c6a51b1536088387db09dfd0e4e04d6db6d499
4
+ data.tar.gz: '024197c33320b734f775363b86850e9f0fadf1ae4460e12992d552bc1c1dee41'
5
5
  SHA512:
6
- metadata.gz: 50ca7f0d6f7337d8de2ccf2cfe41f23d7a691dddcbd308e96f45c3d53ab6c84399fcb3b79a4aeb9bb7275be102cdf3a2a8b85907f37244a07f8ab41bb5f76b89
7
- data.tar.gz: 15270e29f1f4632f85c6bbce268ed929e055dc752d60e6da8dc2547c4a7b20c3c3e8b9db4d9e25c248a2b8281b6e5548b7fcc8781f159e0c31f219213a15f79a
6
+ metadata.gz: 6dd3979dda6781c6ab1d72c904191c2604b251bd7ea29cf3914dad248c5b0efa43c791676b3b3c0e753b33d7330f0743736211708ca85553789707e4b97ac3b3
7
+ data.tar.gz: 66dd19314c400833b1cc80e7413a4a68c4fe06aaf7f416666aa53f1ad0300465a8d36724114aa90f266eb5c7cb6bbf30de600eab65eda1b6fcb8a6855c828320
data/bin/rtfm CHANGED
@@ -632,12 +632,16 @@ def main_getkey # GET KEY FROM USER
632
632
  @w_b.update = true
633
633
  when '-'
634
634
  @preview = !@preview
635
+ @preview ? p = "On" : p = "Off"
636
+ w_b_info("Preview = " + p)
637
+ getch
635
638
  @break = true
636
- @w_b.update = true
637
639
  when '_'
638
640
  @showimage = !@showimage
641
+ @showimage ? i = "On" : i = "Off"
642
+ w_b_info("Image preview = " + i)
643
+ getch
639
644
  @break = true
640
- @w_b.update = true
641
645
  # ADDITIONAL COMMANDS
642
646
  when '/' # Get search string to mark items that match the input
643
647
  @w_b.nohistory = true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rtfm-filemanager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geir Isene
@@ -33,7 +33,8 @@ dependencies:
33
33
  description: 'A full featured terminal browser with syntax highlighted files, images
34
34
  shown in the terminal, videos thumbnailed, etc. You can bookmark and jump around
35
35
  easily, delete, rename, copy, symlink and move files. RTFM has a a wide range of
36
- other features. New in 1.7.1: Added toggle of image preview in the right pane.'
36
+ other features. New in 1.7.2: Showing (image)preview status in statusline on ''-''
37
+ and ''_''.'
37
38
  email: g@isene.com
38
39
  executables:
39
40
  - rtfm