Method: Clio::ANSICode#left
- Defined in:
- lib/clio/ansicode.rb
#left(spaces = 1) ⇒ Object
Move cursor left a specificed number of spaces.
212 213 214 |
# File 'lib/clio/ansicode.rb', line 212 def left( spaces=1 ) "\e[#{spaces.to_i}D" end |