diff options
author | iximeow <me@iximeow.net> | 2017-10-23 01:19:20 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2017-10-23 01:19:20 -0700 |
commit | c2608157f343ac16592e626536673b16849382ee (patch) | |
tree | 2d86c2251adb63778123f960487745d9eb4efbdf /src/commands/auth.rs | |
parent | 5f3ebcf73f3df5f9993503b31d97b50f5f2901c0 (diff) |
thingiemapoo grows a real display!
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.
Diffstat (limited to 'src/commands/auth.rs')
0 files changed, 0 insertions, 0 deletions