Skip to content

Commit 2309273

Browse files
committed
Pass the right object to FakeStdin.
1 parent 737250a commit 2309273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1653,7 +1653,7 @@ def main_curses(scr, args, config, interactive=True, locals_=None,
16531653
clirepl = CLIRepl(main_win, interpreter, statusbar, config, idle)
16541654
clirepl._C = cols
16551655

1656-
sys.stdin = FakeStdin(repl)
1656+
sys.stdin = FakeStdin(clirepl)
16571657
sys.stdout = clirepl
16581658
sys.stderr = clirepl
16591659

0 commit comments

Comments
 (0)