Module: deluge Branch: master Commit: 9e4ea0a6715e9c847a36267a7158227a2fb3588e
Author: Nick Lanham <[email protected]> Date: Tue Feb 22 17:18:12 2011 +0100 don't trim rows (basemode seems to get confused on strings with double-wide chars) --- deluge/ui/console/modes/alltorrents.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/deluge/ui/console/modes/alltorrents.py b/deluge/ui/console/modes/alltorrents.py index 3acb2b8..accd2d1 100644 --- a/deluge/ui/console/modes/alltorrents.py +++ b/deluge/ui/console/modes/alltorrents.py @@ -559,7 +559,7 @@ class AllTorrents(BaseMode): else: colorstr = "{!%s,%s!}"%(fg,bg) - self.add_string(currow,"%s%s"%(colorstr,row[0])) + self.add_string(currow,"%s%s"%(colorstr,row[0]),trim=False) tidx += 1 currow += 1 if (currow > (self.rows - 2)): -- 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.
