--- a/TerminalSession.st Sat Dec 23 15:31:02 2017 +0100
+++ b/TerminalSession.st Fri Dec 29 12:40:26 2017 +0100
@@ -247,13 +247,6 @@
].
!
-isOpen
- (inStream notNil and:[inStream isOpen]) ifTrue:[^ true].
- (outStream notNil and:[outStream isOpen]) ifTrue:[^ true].
- (errStream notNil and:[errStream isOpen]) ifTrue:[^ true].
- ^ false
-!
-
killShell
"shut down my shell process and stop the background reader thread."
@@ -644,6 +637,15 @@
collectedOutput := nil.
! !
+!TerminalSession methodsFor:'queries'!
+
+isOpen
+ (inStream notNil and:[inStream isOpen]) ifTrue:[^ true].
+ (outStream notNil and:[outStream isOpen]) ifTrue:[^ true].
+ (errStream notNil and:[errStream isOpen]) ifTrue:[^ true].
+ ^ false
+! !
+
!TerminalSession methodsFor:'reader process'!
collectOutputAndCheckForPrompt:buffer count:n