[Trac-tickets] Re: [The Trac Project] #2496: trac-admin help is illegible due to long lines

The Trac Project noreply at edgewall.com
Mon Jan 2 22:36:10 CST 2006


#2496: trac-admin help is illegible due to long lines
------------------------------+---------------------------------------------
 Reporter:  mdaniel at scdi.com  |        Owner:  daniel
     Type:  defect            |       Status:  new   
 Priority:  normal            |    Milestone:        
Component:  trac-admin        |      Version:  0.9.2 
 Severity:  normal            |   Resolution:        
 Keywords:                    |  
------------------------------+---------------------------------------------
Comment (by adeason at tjhsst.edu):

 I attached an example patch. It introduces a new parameter to
 print_listing() called maxw, which I set to 80 in print_doc(). Right now
 the patch doesn't really make sure that the text keeps to 80 chars, but
 none of the help text is over 80 characters in length, so it works now.

 If someone would like to make it wrap the text to maxw chars, that would
 probably be better. And also examining the environment for the actual
 number of columns that should be used would be better.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2496>
The Trac Project <http://trac.edgewall.com/>


More information about the Trac-Tickets mailing list