diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-10-23 23:40:45 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-10-23 23:40:45 -0400 |
commit | edd89902036bde18c91031470e19c871a182cf6d (patch) | |
tree | 1269e7b1660aa64896fc21768002e837233c2c24 /lib/sisu/v5/epub_segments.rb | |
parent | v4 v5: version & changelog (diff) |
v5: options & downstream, more use of opt.act instead of opt.cmd
* opt.act.*.set==:on instead of opt.cmd =~/\S/
Diffstat (limited to 'lib/sisu/v5/epub_segments.rb')
-rw-r--r-- | lib/sisu/v5/epub_segments.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/sisu/v5/epub_segments.rb b/lib/sisu/v5/epub_segments.rb index 9f483610..16e26855 100644 --- a/lib/sisu/v5/epub_segments.rb +++ b/lib/sisu/v5/epub_segments.rb @@ -173,7 +173,11 @@ WOK @@seg_name_xhtml=@@seg_name @@seg_total=@@seg_name.length testforartnum=@@seg_name_xhtml - SiSU_Screen::Ansi.new(@md.opt.cmd,@@seg_name.length) if @md.opt.cmd =~/[MVv]/ + if (@md.opt.act[:verbose][:set]==:on \ + || @md.opt.act[:verbose_plus][:set]==:on \ + || @md.opt.act[:maintenance][:set]==:on) + SiSU_Screen::Ansi.new(@md.opt.act[:color_state][:set],@@seg_name.length) + end SiSU_Particulars::CombinedSingleton.instance.get_map_nametags(@md).nametags_map #p map_nametags data.each do |dob| #if defined? dob.obj \ |