lib/tty/prompt/question.rb in tty-prompt-0.16.0 vs lib/tty/prompt/question.rb in tty-prompt-0.16.1

- old
+ new

@@ -97,10 +97,12 @@ # @api public def call(message, &block) return if Utils.blank?(message) @message = message block.call(self) if block - render + @prompt.subscribe(self) do + render + end end # Read answer and convert to type # # @api private