From d83ec5192442a9bd8d914c5a4856917b9653583c Mon Sep 17 00:00:00 2001 From: icebaker Date: Sat, 13 May 2023 10:45:32 -0300 Subject: improving streams --- ports/dsl/nano-bots.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ports') diff --git a/ports/dsl/nano-bots.rb b/ports/dsl/nano-bots.rb index bce169c..b6f4462 100644 --- a/ports/dsl/nano-bots.rb +++ b/ports/dsl/nano-bots.rb @@ -8,7 +8,7 @@ require_relative '../../controllers/interfaces/cli' module NanoBot def self.new(cartridge:, state: '-') - Controllers::Instance.new(cartridge_path: cartridge, state:) + Controllers::Instance.new(cartridge_path: cartridge, state:, stream: StringIO.new) end def self.cli -- cgit v1.2.3