Skip to content

Instantly share code, notes, and snippets.

@seandenigris
Created May 5, 2012 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seandenigris/2602113 to your computer and use it in GitHub Desktop.
Save seandenigris/2602113 to your computer and use it in GitHub Desktop.
Pharo Smalltalk: Fix standard input (Issue 5800)
'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