Commit Graph

10 Commits

Author SHA1 Message Date
Daniel Schulte a4a7e137f7 Log whether Retweets are enabled or not when starting the application 2018-03-18 19:16:59 +01:00
Daniel Schulte 992c39fd59 Add explanation of the "flipped" printer setting and update README 2018-03-18 19:12:51 +01:00
Daniel Schulte ed1b9698f9 Add feature to allow upside down printing of Tweets.
This is useful when the printer is mounted on a wall.
2018-03-18 19:06:57 +01:00
Daniel Schulte 860b2fa48b Refactor Tweet printing to work in a line based fashion using the textwrap library
The textwrap library is contained in the python standard library.
The code contains a workaround for textwrap.wrap discarding newlines which should be preserved.
Therefore the text is first split into lines and non empty lines get processed by textwrap.wrap.
Empty lines get appended to the line buffer.
2018-03-18 19:05:28 +01:00
Daniel Schulte 11086049af Some code cleanup
Adjusted code comment indentation, removed commented out debug code.
2018-03-18 19:01:59 +01:00
Daniel Schulte 4e52c269e3 Make printer line width configurable 2018-03-18 18:56:52 +01:00
Daniel Schulte eb5991468b Add code for printing RTs on the thermal printer 2018-03-18 18:00:23 +01:00
Daniel Schulte c7720f6c85 Add application version and remove some leftover comments/whitespace 2018-03-18 17:14:23 +01:00
Daniel Schulte 7a6d6e24c6 Add section about developing/testing the application to README.md 2018-03-18 17:14:00 +01:00
Daniel Schulte a2f19397fb Initial commit 2018-03-18 16:56:49 +01:00