Method: Commander::UI::ProgressBar#erase_line
- Defined in:
- lib/commander/user_interaction.rb
#erase_line ⇒ Object
Erase previous terminal line.
549 550 551 552 |
# File 'lib/commander/user_interaction.rb', line 549 def erase_line # highline does not expose the output stream HighLine.default_instance.instance_variable_get('@output').print "\r\e[K" end |