Nic0 / tyrs

Twitter and Identica client using curses
http://tyrs.nicosphere.net
61 stars 10 forks source link

Fixed bug with scrolling to the bottom of the timeline #119

Closed ghost closed 12 years ago

ghost commented 12 years ago

The method that scrolls to the bottom of the current timeline: back_on_bottom in interface.py raised an AttributeError because it was accesing a nonexistent attribute.

I added a status_count method to the Timeline class in timeline.py which updates and returns the count of the tweets, and I have used the value that it returns to set the focus at the bottom of the timeline.

ghost commented 12 years ago

I've also renamed a couple files with typos and commented some issues in test_twitter_api.py and test_shortener.py.

Nic0 commented 12 years ago

That's awesome! Thanks a lot.