diff --git a/rtv/subreddit.py b/rtv/subreddit.py index 2d79133..1e79ca3 100644 --- a/rtv/subreddit.py +++ b/rtv/subreddit.py @@ -190,7 +190,10 @@ class SubredditPage(Page): self.term.add_line(win, '{score} '.format(**data), row, 1) text, attr = self.term.get_arrow(data['likes']) self.term.add_line(win, text, attr=attr) - self.term.add_line(win, ' {created} {comments} '.format(**data)) + self.term.add_line(win, ' {created} '.format(**data)) + text, attr = self.term.timestamp_sep + self.term.add_line(win, text, attr=attr) + self.term.add_line(win, ' {comments} '.format(**data)) if data['stickied']: text, attr = self.term.stickied self.term.add_line(win, text, attr=attr) diff --git a/rtv/terminal.py b/rtv/terminal.py index 8f9857d..1b70d4a 100644 --- a/rtv/terminal.py +++ b/rtv/terminal.py @@ -61,6 +61,12 @@ class Terminal(object): attr = curses.A_BOLD return symbol, attr + @property + def timestamp_sep(self): + symbol = 'o' if self.ascii else '•' + attr = curses.A_BOLD + return symbol, attr + @property def guilded(self): symbol = '*' if self.ascii else '✪'