Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.0

Request #16497 Cascade line width when using commands.
Submitted: 2009-08-07 16:01 UTC Modified: 2009-08-24 14:47 UTC
From: rquadling Assigned: izi
Status: Closed Package: Console_CommandLine (version 1.1.0)
PHP Version: 5_3 CVS-2009-08-07 OS: Windows XP SP3
Roadmaps: (Not assigned)    
Subscription  



Patch patch.diff Revisions
Revision 2009-08-07 16:01 UTC
Developer rquadling
 
Download patch

Index: CommandLine.php
===================================================================
--- CommandLine.php	(revision 286906)
+++ CommandLine.php	(working copy)
@@ -535,6 +535,7 @@
         }
         $command->parent                = $this;
         $this->commands[$command->name] = $command;
+        $command->renderer->line_width  = &$this->renderer->line_width;
         return $command;
     }