Created
May 5, 2012 12:51
-
-
Save seandenigris/2602113 to your computer and use it in GitHub Desktop.
Pharo Smalltalk: Fix standard input (Issue 5800)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'From Pharo2.0a of ''18 April 2012'' [Latest update: #20041] on 3 May 2012 at 10:45:48 pm'! | |
!FileStream class methodsFor: 'stdio' stamp: 'SeanDeNigris 5/3/2012 22:37'! | |
stdin | |
^Stdin ifNil: [ | |
Stdin := self standardIOStreamNamed: #stdin forWrite: false. | |
Stdin | |
disableReadBuffering; | |
yourself ].! ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment