Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Lib/_pyrepl/pager.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def pipe_pager(text: str, cmd: str, title: str = '') -> None:
'.'
'?e (END):?pB %pB\\%..'
' (press h for help or q to quit)')
env['LESS'] = '-RcmPm{0}$PM{0}$'.format(prompt_string)
env['LESS'] = '-F-RmPm{0}$PM{0}$'.format(prompt_string)
Comment thread
skirpichev marked this conversation as resolved.
Outdated
proc = subprocess.Popen(cmd, shell=True, stdin=subprocess.PIPE,
errors='backslashreplace', env=env)
assert proc.stdin is not None
Expand Down
Loading