{"action":"created","issue":{"url":"https://api.github.com/repos/sharkdp/bat/issues/158","repository_url":"https://api.github.com/repos/sharkdp/bat","labels_url":"https://api.github.com/repos/sharkdp/bat/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/sharkdp/bat/issues/158/comments","events_url":"https://api.github.com/repos/sharkdp/bat/issues/158/events","html_url":"https://github.com/sharkdp/bat/issues/158","id":327073288,"number":158,"title":"Use PAGER environment variable instead of 'less'","user":{"login":"notramo","id":26059643,"avatar_url":"https://avatars0.githubusercontent.com/u/26059643?v=4","gravatar_id":"","url":"https://api.github.com/users/notramo","html_url":"https://github.com/notramo","followers_url":"https://api.github.com/users/notramo/followers","following_url":"https://api.github.com/users/notramo/following{/other_user}","gists_url":"https://api.github.com/users/notramo/gists{/gist_id}","starred_url":"https://api.github.com/users/notramo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notramo/subscriptions","organizations_url":"https://api.github.com/users/notramo/orgs","repos_url":"https://api.github.com/users/notramo/repos","events_url":"https://api.github.com/users/notramo/events{/privacy}","received_events_url":"https://api.github.com/users/notramo/received_events","type":"User","site_admin":false},"labels":[{"id":909256495,"url":"https://api.github.com/repos/sharkdp/bat/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":909256497,"url":"https://api.github.com/repos/sharkdp/bat/labels/good%20first%20issue","name":"good first issue","color":"7057ff","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-28T16:21:37Z","updated_at":"2018-05-29T17:17:36Z","closed_at":null,"author_association":"NONE","body":"`bat` sould use pager name from `PAGER` environment variable, and only use `less` if `PAGER` is unset."},"comment":{"url":"https://api.github.com/repos/sharkdp/bat/issues/comments/392861895","html_url":"https://github.com/sharkdp/bat/issues/158#issuecomment-392861895","issue_url":"https://api.github.com/repos/sharkdp/bat/issues/158","id":392861895,"user":{"login":"sharkdp","id":4209276,"avatar_url":"https://avatars2.githubusercontent.com/u/4209276?v=4","gravatar_id":"","url":"https://api.github.com/users/sharkdp","html_url":"https://github.com/sharkdp","followers_url":"https://api.github.com/users/sharkdp/followers","following_url":"https://api.github.com/users/sharkdp/following{/other_user}","gists_url":"https://api.github.com/users/sharkdp/gists{/gist_id}","starred_url":"https://api.github.com/users/sharkdp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharkdp/subscriptions","organizations_url":"https://api.github.com/users/sharkdp/orgs","repos_url":"https://api.github.com/users/sharkdp/repos","events_url":"https://api.github.com/users/sharkdp/events{/privacy}","received_events_url":"https://api.github.com/users/sharkdp/received_events","type":"User","site_admin":false},"created_at":"2018-05-29T17:17:36Z","updated_at":"2018-05-29T17:17:36Z","author_association":"OWNER","body":"How would we handle command line arguments to the pager? Currently, we pass `--RAW-CONTROL-CHARS`, `--no-init` and (optionally) `--quit-if-one-screen`. We cannot expect other pagers to have the same command line options.\r\n\r\nI guess the only option would be to pass no command-line arguments (can/should command-line arguments be specified in `$PAGER`?) if `$PAGER` is set. Also, we should check if `$PAGER == \"less\"` and fall back to using the normal command-line aguments."}}
{"actor":{"display_login":"sharkdp"}}