'Rails console in docker container input/output looks messed up
I have a dockerized ruby on rails container. When I enter rails console inside of this container and press return it displays \r:
[1] pry(main)> \r
[2] pry(main)> \r
If I type a couple commands and press ctrl+r (which is supposed to search my history for matches) it gets completely messed up and starts appending strings to the end of the line instead of clearing the whole line.
Anyone know what's going on here?
I'm running Big Sur.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
