File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 1- This is pyrepl 0.8.3, a readline-a-like in Python.
2-
3- http://pyrepl.codespeak.net/
1+ This is pyrepl 0.8.4, a readline-a-like in Python.
42
53It requires python 2.7 (or newer) and features:
64
@@ -36,13 +34,6 @@ $ python setup.py install
3634
3735which will also install the above "pythoni" script.
3836
39- Please direct comments to micahel@gmail.com.
40-
41- (If you've released open source software you'll know how frustrating
42- it is to see a couple of hundred downloads and only get a handful of
43- emails, so don't think I'll be irritated by the banality of your
44- comments!)
45-
4637
4738Summary of 0.8.4:
4839
Original file line number Diff line number Diff line change @@ -358,6 +358,7 @@ def prepare(self):
358358 # per-readline preparations:
359359 self .__svtermstate = tcgetattr (self .input_fd )
360360 raw = self .__svtermstate .copy ()
361+ raw .iflag |= termios .ICRNL
361362 raw .iflag &= ~ (termios .BRKINT | termios .INPCK |
362363 termios .ISTRIP | termios .IXON )
363364 raw .oflag &= ~ (termios .OPOST )
You can’t perform that action at this time.
0 commit comments