]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/ui/tools/listener/listener.factor
core: cramp -> bound (was short)
[factor.git] / basis / ui / tools / listener / listener.factor
index 977dc03f00b2798ca721678d2ba1ca922cc07412..e366aa543a5772db451d4a80a0bc0bc9b00a8472 100644 (file)
@@ -162,7 +162,7 @@ M:: interactor stream-read-unsafe ( n buf interactor -- count )
     n [ 0 ] [
         drop
         interactor interactor-read dup [ join-lines ] when
-        n cramp [ head-slice 0 buf copy ] keep
+        n bound [ head-slice 0 buf copy ] keep
     ] if-zero ;
 
 M: interactor stream-read1