diff --git a/changelog.yaml b/changelog.yaml index 3d1c874..45a8b23 100644 --- a/changelog.yaml +++ b/changelog.yaml @@ -3,6 +3,7 @@ changes: - "Add `--scheduled-at` option to `toot post`, allows scheduling toots" - "Add `--description` option to `toot post`, for adding descriptions to media attachments (thanks @ansuz)" + - "Disable paging timeline when output is piped (thanks @stacyharper)" 0.27.0: date: 2020-06-15 diff --git a/toot/commands.py b/toot/commands.py index d19cdae..7d8e37e 100644 --- a/toot/commands.py +++ b/toot/commands.py @@ -52,7 +52,7 @@ def timeline(app, user, args): print_timeline(items) - if args.once: + if args.once or not sys.stdout.isatty(): break char = input("\nContinue? [Y/n] ")