Skip to content

Commit cb74f11

Browse files
Force less to open source temp file
(prevents "may be a binary file. See it anyway?")
1 parent f851628 commit cb74f11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/curtsiesfrontend/repl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ def focus_on_subprocess(self, args):
11111111
signal.signal(signal.SIGWINCH, prev_sigwinch_handler)
11121112

11131113
def pager(self, text):
1114-
command = os.environ.get('PAGER', 'less -r').split()
1114+
command = os.environ.get('PAGER', 'less -rf').split()
11151115
with tempfile.NamedTemporaryFile() as tmp:
11161116
tmp.write(text)
11171117
tmp.flush()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy