|
|
|
|
619
|
pager_cmd = ['less']
|
619
|
pager_cmd = ['less']
|
620
|
if not os.getenv('LESS'):
|
620
|
if not os.getenv('LESS'):
|
621
|
# Args stolen from git source: github.com/git/git/blob/master/pager.c
|
621
|
# Args stolen from git source: github.com/git/git/blob/master/pager.c
|
622
|
- pager_cmd.extend(['-FRSX'])
|
|
|
|
|
622
|
+ pager_cmd.extend(['-FRSX', '--shift 1'])
|
623
|
pager = subprocess.Popen(
|
623
|
pager = subprocess.Popen(
|
624
|
pager_cmd, stdin=subprocess.PIPE, stdout=sys.stdout)
|
624
|
pager_cmd, stdin=subprocess.PIPE, stdout=sys.stdout)
|
625
|
|
625
|
|