is this the Ruby way of reading chars without echoing?