You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pasting code with iterm causes some lines to be repeated ~100 times #199
I upgraded irb and reline to avoid issues with slow pasting of code as suggested in #43 (comment)
The speed of pasting is much faster but the output seems broken for this particular input when using iterm, specifically the last few lines of the pasted code seem to be repeated many many times, maybe 100.
The input was randomly obfuscated from the source that I originally saw the issue with, however, removing lines (e.g. the commented section), or changing the line length causes the issue to stop happening.
Activity
joevandyk commentedon Sep 3, 2021
I'm using iterm2 and the latest stable version of reline and irb, I'm not seeing this problem
tompng commentedon Apr 8, 2023
This is fixed in ruby/reline#474
I checked before and after this change commit.
Confirmed the same problem only before this fix commit.
It's likely to happen when the pasted code is large, and the required code size to reproduce seems to depends on terminal emulator.