aboutsummaryrefslogtreecommitdiffstats
path: root/other/mitscheme.py
diff options
context:
space:
mode:
authorbnewbold <bnewbold@eta.mit.edu>2009-01-22 18:36:59 -0500
committerbnewbold <bnewbold@eta.mit.edu>2009-01-22 18:36:59 -0500
commit66c4616241749ce8950c0a48a529c303d430eb99 (patch)
treeddba020d2c6faa0ab37a0bc407a817ebce216fa2 /other/mitscheme.py
parent1333977014c983e39c1392eb7ca71800085ba1eb (diff)
download8thesis-66c4616241749ce8950c0a48a529c303d430eb99.tar.gz
8thesis-66c4616241749ce8950c0a48a529c303d430eb99.zip
added next entry links; screenshot; sage tweaks (still not very good); amd64 instructions
Diffstat (limited to 'other/mitscheme.py')
-rw-r--r--other/mitscheme.py2
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