diff options
author | Andy Wortman <ixineeringeverywhere@gmail.com> | 2017-10-23 01:19:20 -0700 |
---|---|---|
committer | Andy Wortman <ixineeringeverywhere@gmail.com> | 2017-10-23 01:19:20 -0700 |
commit | aaed866268616b145026dea6e40b5ab5d57c79c0 (patch) | |
tree | 2d86c2251adb63778123f960487745d9eb4efbdf /src/commands/mod.rs | |
parent | b9547026cb70ac407aaae79920f623bd66c57c34 (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/mod.rs')
0 files changed, 0 insertions, 0 deletions