Module: CultomePlayer::Plugins::KeyboardSpecialKeys
- Included in:
- CultomePlayer::Plugins
- Defined in:
- lib/cultome_player/plugins/keyboard_special_keys.rb
Instance Method Summary collapse
Instance Method Details
#init_plugin_keyboard_special_keys ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/cultome_player/plugins/keyboard_special_keys.rb', line 4 def init_plugin_keyboard_special_keys Thread.new do start_cmd = "tail -f #{command_pipe}" pipe = IO.popen(start_cmd, "rw") pipe.each do |line| #IO.popen(start_cmd).each do |line| # planchamos el prompt... display_over("") # ejecutamos el comando execute_interactively line # y luego lo regeneramos display_over c5(CultomePlayer::Interactive::PROMPT) end # IO end # Thread end |