macOS Terminal doesn't paste correctly when running in the Rails console (macOS Mojave)

Hello everyone, it is nice to join you on Discuss.

I know it sounds crazy and if you don’t believe me watch the video.

(this is a video from my terminal screen)

the stack exchange guys (that’s the Stack Overflow board for Mac OS issues) think it might be isolated to Rails itself running in this env?

the Stack Exchange issue is here:

Have you tried other terminals like say kitty or iterm2? Is this isolated to the mac built-in terminal?