diff options
Diffstat (limited to 'other/mitscheme.py')
-rw-r--r-- | other/mitscheme.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/other/mitscheme.py b/other/mitscheme.py index 826f26e..8a20641 100644 --- a/other/mitscheme.py +++ b/other/mitscheme.py @@ -118,7 +118,7 @@ class MitScheme(Expect): try: with gc_disabled(): - return self._strip_prompt(self._eval_line(code, **kwds)) + return self._strip_prompt(self._eval_line(code.replace('\n',' ').replace('\r',' '), **kwds)) except KeyboardInterrupt: # DO NOT CATCH KeyboardInterrupt, as it is being caught # by _eval_line |