diff --git a/rtv/history.py b/rtv/history.py index a91e391..8db031e 100644 --- a/rtv/history.py +++ b/rtv/history.py @@ -23,7 +23,8 @@ def load_history(): path = history_path() if os.path.exists(path): with open(path) as history_file: - history = [line.strip() for line in history_file] + # reverse the list so the newest ones are first + history = [line.strip() for line in history_file][::-1] return OrderedSet(history) return OrderedSet()