Skip to content

Commit 284b38f

Browse files
derekbrokeitjonathanslenders
authored andcommitted
change PythonRepl._process_text to use input text instead of ignoring it
1 parent 5eb7158 commit 284b38f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ptpython/repl.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ def run(self):
7676
if self.terminal_title:
7777
clear_title()
7878

79-
def _process_text(self, text):
80-
line = self.default_buffer.text
79+
def _process_text(self, line):
8180

8281
if line and not line.isspace():
8382
try:

0 commit comments

Comments
 (0)