Turn off echo in RubyMine console?
已回答
Hi, I'm a new programmer. I just installed the latest version of RubyMine and Ruby.
When I run files, it keeps echoing the input values. Also, the cursor cuts off the white space after my colon.
This only happens in the run window. Things work as expected in the terminal window.
Here is some example code:
# Get name from user
print "Name: "
name = gets.chomp
1. When I click on Run, it says Name: but the space after the colon seems cut off by the cursor.
2. After I type Gary and enter, it prints the value to the screen.
Output:
Name:Gary
Gary
Process finished with exit code 0
Thank you for your help!
请先登录再写评论。
Hello Dianna,
sorry for the delay. There've been a similar input related problem (https://youtrack.jetbrains.com/issue/RUBY-23100), which is going to be fixed in 2018.3.2.
Olga,
Thanks so much for the update! I'm glad that it isn't just me. :-)
Looking forward to the new version!