lib/input_sequencer.rb in markdown_exec-2.6.0 vs lib/input_sequencer.rb in markdown_exec-2.7.0

- old
+ new

@@ -92,22 +92,17 @@ # self.imw_ins now_menu, 'now_menu' break if exit_when_bq_empty && bq_is_empty? && !now_menu.prior_block_was_link if now_menu.display_menu - # !!b break if run_yield(:end_of_cli, &block) == :exit - # !!b exit_when_bq_empty = false run_yield :display_menu, &block - # !!b choice = run_yield :user_choice, &block - # !!b break if choice == :break - # !!b raise BlockMissing, 'Block not recognized.' if choice.nil? # Exit loop and method to terminate the app break if run_yield(:exit?, choice&.to_s.downcase, &block) @@ -118,12 +113,10 @@ next_menu = next_state else if now_menu.block_name && !now_menu.block_name.empty? block_name = now_menu.block_name else - # break if bq_is_empty? # Exit loop if no more blocks to process if bq_is_empty? # Exit loop if no more blocks to process - # !!b run_yield :end_of_cli, &block break end block_name = @block_queue.shift