[svn] r6338 - trunk/tools/dwscan

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Tue Jun 3 20:39:39 CEST 2008


Author: dag
Date: 2008-06-03 19:39:39 +0100 (Tue, 03 Jun 2008)
New Revision: 6338

Modified:
   trunk/tools/dwscan/dwscan
Log:
Reintroduced cleareos.

Modified: trunk/tools/dwscan/dwscan
===================================================================
--- trunk/tools/dwscan/dwscan	2008-06-03 17:35:04 UTC (rev 6337)
+++ trunk/tools/dwscan/dwscan	2008-06-03 18:39:39 UTC (rev 6338)
@@ -68,7 +68,8 @@
     'left': '\033[1D',
 
     'clear': '\033[2J',
-    'cleareol': '\033[K',
+#    'cleareol': '\033[K',
+    'cleareol': '\033[0K',
     'clearline': '\033[2K',
     'cleareos': '\033[J',
 #   'save': '\033[s',
@@ -359,7 +360,7 @@
 
         active = len([x for x in aps.keys() if aps[x]['active']])
         print ansi['clearline']
-#        print ansi['clearline'] + ansi['default'] + ansi['blue'] + ' %s access points (%s active and %s inactive)' % (len(aps), active, len(aps) - active) + ansi['cleareos']
+        print ansi['clearline'] + ansi['default'] + ansi['blue'] + ' %s access points (%s active and %s inactive)' % (len(aps), active, len(aps) - active) + ansi['cleareos']
 
         for key in aps.keys():
             aps[key]['active'] = False



More information about the svn-commits mailing list