# File lib/plugins/another_prompt.rb, line 72 def start_input_thread setup_readline() trap_setting() @input_thread = Thread.new do loop do begin value = config.plugins.another_prompt.shortcut_setting[wait_keypress] Client.pause case value when String call_prompt(value) when Proc value.call end ensure Client.resume end end end @input_thread.join end