Author: andar

Revision: 5925

Log:
        Fix printing info, help, etc.. on the command line

Diff:
Modified: branches/1.2_RC/ChangeLog
===================================================================
--- branches/1.2_RC/ChangeLog   2009-11-08 04:04:40 UTC (rev 5924)
+++ branches/1.2_RC/ChangeLog   2009-11-08 17:22:57 UTC (rev 5925)
@@ -16,6 +16,7 @@
        * Make the delete key work
        * Allow ~ to be used in the path in the add command
        * Allow commands that are .pyc files to be used
+       * Fix printing info, help, etc.. on the command line
 
 === Deluge 1.2.0_rc3 (01 November 2009) ===
 ==== Core ====

Modified: branches/1.2_RC/deluge/ui/console/main.py
===================================================================
--- branches/1.2_RC/deluge/ui/console/main.py   2009-11-08 04:04:40 UTC (rev 
5924)
+++ branches/1.2_RC/deluge/ui/console/main.py   2009-11-08 17:22:57 UTC (rev 
5925)
@@ -249,7 +249,7 @@
 
         """
         self.batch_write = batch
-        if not batch:
+        if not batch and self.interactive:
             self.screen.refresh()
 
     def write(self, line):

Modified: trunk/deluge/ui/console/main.py
===================================================================
--- trunk/deluge/ui/console/main.py     2009-11-08 04:04:40 UTC (rev 5924)
+++ trunk/deluge/ui/console/main.py     2009-11-08 17:22:57 UTC (rev 5925)
@@ -249,7 +249,7 @@
 
         """
         self.batch_write = batch
-        if not batch:
+        if not batch and self.interactive:
             self.screen.refresh()
 
     def write(self, line):



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to