aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/html_segments.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-05-01 01:44:04 -0400
committerRalph Amissah <ralph@amissah.com>2010-05-01 01:44:04 -0400
commitd9763aebaf71cf9629fdcf3c0e8818a1edb2b528 (patch)
treed18f7b2784887095d96d36038d1c95402d507b78 /lib/sisu/v2/html_segments.rb
parentparam_identify_markup, identify version 2 markup (diff)
reduce screen output unless some verbose flag (such as -v) is used
Diffstat (limited to 'lib/sisu/v2/html_segments.rb')
-rw-r--r--lib/sisu/v2/html_segments.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/sisu/v2/html_segments.rb b/lib/sisu/v2/html_segments.rb
index 022a1d0c..5c0a118c 100644
--- a/lib/sisu/v2/html_segments.rb
+++ b/lib/sisu/v2/html_segments.rb
@@ -162,8 +162,9 @@ module SiSU_HTML_seg
@@seg_name_html=@@seg_name
@@seg_total=@@seg_name.length
testforartnum=@@seg_name_html
- tell=SiSU_Screen::Ansi.new(@md.cmd,@@seg_name.length)
- tell.segmented unless @md.cmd =~/q/
+ unless @md.cmd =~/q/
+ SiSU_Screen::Ansi.new(@md.cmd,@@seg_name.length).segmented if @md.cmd =~/[MVv]/
+ end
map_nametags=SiSU_Particulars::Combined_singleton.instance.get_map_nametags(@md).nametags_map #p map_nametags
data.each do |dob|
if defined? dob.obj \