Move cursor up a specificed number of spaces.
194 195 196
# File 'lib/ansi/code.rb', line 194 def up(spaces=1) "\e[#{spaces.to_i}A" end