#2062: Screen.add_line.get_line_chunks() discards everything before first colour
string.
---------------------+------------------------------------------------------
 Reporter:  eirikba  |       Owner:                
     Type:  patch    |      Status:  new           
 Priority:  minor    |   Milestone:  Future        
Component:  other    |     Version:  git 1.3-stable
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by Cas):

 The change I suggested does work for the case that this bug was opened but
 I see that it fails with completely uncoloured lines.

 I have modified the patch slightly and added a 'continue' that will
 discard lines which are not correct.

 https://github.com/cas--/Deluge/commit/33cc73fc89

 I had a look in colors.py and '{!}' will also be discarded as invalid but
 not at the correct point so that will need fixing separately.

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/2062#comment:4>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" 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-dev?hl=en.

Reply via email to