Repl.it not registering escape sequences

Hi,

I’ve been working on the Mastermind project in Ruby, and have it looking pretty good in my own terminal, but on Repl.it the escape sequences I use don’t work. I mostly am using these to hide and write over various output:

puts "\e[3A" # up - moves 3 lines up
puts "\e[0J" # Clear screen from cursor to the end

Is there anything I can do to get this working on Repl.it?

Here is my code:
Repl.it
Github

Thanks!

I realized that the cursor escape sequences actually do work in the console-only page, just not the sandbox. (Italics and bold don’t work properly on either.) I also found this feedback page on Repl.it, which says Ruby does not use a real terminal, which explains some of the unexpected behavior. https://repl.it/feedback/p/true-terminal-behavior