Is there any way to limit the number of log messages at the bottom of the btlaunchmanycurses screen? I've got ten lines devoted to that right now, and I'd rather only have 4, letting me see more torrent info at a time...

You can hack btlaunchmanycurses.py to change the main window height; it's calculated at line 112, "self.mainwinh = int(2*(self.scrh)/3)". Changing it to 4*(self.scrh)/5 may give you what you want. Beware though, it may blow up on you if you then make the window too small.

You can hack btlaunchmanycurses.py to change the main window height; it's calculated at line 112, "self.mainwinh = int(2*(self.scrh)/3)". Changing it to 4*(self.scrh)/5 may give you what you want. Beware though, it may blow up on you if you then make the window too small.

You can hack btlaunchmanycurses.py to change the main window height; it's calculated at line 112, "self.mainwinh = int(2*(self.scrh)/3)". Changing it to 4*(self.scrh)/5 may give you what you want. Beware though, it may blow up on you if you then make the window too small.

Thanks -- I'll give that a look.

I've been considering this further, and I think that I confused my goal with one way of achieving it. I often have a dozen or two torrents running, most of which aren't doing anything (I'm seeding them, but no one is downloading at the moment), and it takes a long time to cycle through to see the one or two active torrents. If there was a way to only show active torrents, that would be perfect.

Would it work to modify _display_data to operate on a copy of its data argument that's had inactive torrents removed? If so, you could bind a key to a method that toggles a variable, and check that at the beginning of _display_data to determine whether or not to display inactive torrents.

I'm not at all familiar with python, so I'm not sure if that would work or not. It looks like it might, but I could be wrong.

Would it work to modify _display_data to operate on a copy of its data argument that's had inactive torrents removed? If so, you could bind a key to a method that toggles a variable, and check that at the beginning of _display_data to determine whether or not to display inactive torrents.

I'm not at all familiar with python, so I'm not sure if that would work or not. It looks like it might, but I could be wrong.

Worked like a charm. I renamed the data argument to data_arg, and added this at the beginning of _display_data (and some other code elsewhere to toggle show_inactive when I hit the spacebar):

I'm checking both that it has a peer, and that it's sending or receiving at least 100 bytes/s. I added the second check because I had several torrents that had clients connecting and disconnecting without actually downloading anything, causing the display to flicker.