Hi,

New to Ruby and can't seem to get the \b escape to work. Code:

j=0
while j<10
  print rand(1...10)
  sleep (0.1)
  print "\b"
  j+=1
end

Output:

4523175329
- just a series of 10 random numbers on the same line.

Am I missing something, or shouldn't it backspace, and print all the #s
in the first character space?

Your help appreciated!
Jeff

-- 
Posted via http://www.ruby-forum.com/.