aboutsummaryrefslogtreecommitdiff
path: root/src/display/mod.rs
AgeCommit message (Collapse)Author
2017-12-24fix line wrapping bug when composing, and wrapping bug for long status linesiximeow
2017-12-24adjust line clearing behavior to alleviate flickeringiximeow
2017-12-03fix style bug when replying to locked accountsiximeow
was incorrectly resetting ALL styling after underlining the word "locked", but instead just revert the underline only
2017-12-02track dirty bit to know if we should redraw displayiximeow
also clean up a bunch of TODOs
2017-12-01display locked and protected as applicableiximeow
2017-12-01basic info log scroll support. uses home/end right nowiximeow
2017-12-01rework compose display, coloring background causes Problemsiximeow
if a handle is the same color as the background it becomes invisible counting ansi string lengths is not supported, so that would be work
2017-11-30remove unneeded params, adjust id displayiximeow
tweets are now recorded with the date they are recieved at dated id lookup is now supported tweet ids, where displayed, are displayed in a convenient form: if the tweet was recieved today, show the today id if the tweet was recieved on a different day, show the bare id many instances where display_info was passed for logging information, the parameter has become unnecessary, so it's gone now
2017-11-26colorize @ in tweet textiximeow
update todo
2017-11-26wrap lines intelligently with respect to ANSI sequencesiximeow
2017-11-25extract DisplayInfo from TwitterCacheiximeow
what a mess... threading this through to any point where printing happens is upsetting. probably should be a global mutable behind accessors.
2017-11-18groundwork for multi-account useiximeow
add connection state tracked per-stream, add explicit TwitterProfile mapped to names that can be used for accounts. default names are the handle of the corresponding twitter account. partition out user Credential to be per TwitterProfile, so fav, reply, etc, all come from the selected account. Multiplex twitter connections and message streams across chan (instead of earlier plan, which was to have one chan per thread)
2017-11-17fix rendering issues with events, support End keyiximeow
also disable rendering of delete events
2017-11-15move line wrapping into render_tweteiximeow
this is, hopefully, the start of support for correctly wrapping lines with ANSI control codes included. additionally, hopefully the start of supporting coloring @'s in tweets.
2017-11-13fix cursor not moving if the screen is fulliximeow
2017-11-13inform me when the tweet cache cant be loadediximeow
2017-11-13fix pageup/pagedown seeking through twitter eventsiximeow
2017-11-11checking for tweet length in-client is dumbiximeow
2017-11-11start adding help referenceiximeow
2017-11-11move id formatting into a Display impliximeow
2017-11-10very hackily add notion of user credentials and PIN authiximeow
also fix bug where cached user info takes precedence over (possibly updated) api json user info
2017-11-08first brush of a compose mode, support thread viewing againiximeow
2017-11-01move more logging to be through DisplayInfo statusesiximeow
move DisplayInfo into ... display flush output, duh
2017-10-25begin removing unwrap()iximeow
2017-10-24add displayiximeow
2017-10-23thingiemapoo grows a real display!iximeow
kind of. add DisplayInfo struct that eventually can be used for rendering to any particular interface. I care primarily about rendering to a CLI, so. to support this: many instances of rendering with println!() are moved to at least be orchestrated by display::paint, which will eventually become smart enough to handle a reserved area for state notifications from the client, and buffer input nicely, .... more code moved over to use TweetId instead of bare strings because DisplayInfo is currently a member on TwitterCache, any cases of writing to DisplayInfo also involve writing to TwitterCache, which means TwitterCache is mut like... everywhere. Also, invalid TweetId in IdConversions ends up logging, meaning anything calling that conversion requires a mut TwitterCache, by the above paragraph.
2017-10-21begin conversion to typed TwitterIDiximeow
2017-10-18lots of tiny tweaksiximeow
escape more stuff avoid possible breakage if we dont have the fav of a retweet
2017-10-17add rudimentary thread supportiximeow
2017-10-17render quoted tweetsiximeow
double-post bug if you are the author of the quoting tweet because you see the event AND your tweet in your feed
2017-10-02store and show reply_to info if presentiximeow
2017-10-02move everything to src/iximeow