irb icon indicating copy to clipboard operation
irb copied to clipboard

IRB send a large number of redundant ESC sequences causing slow paste operation

Open eabase opened this issue 3 years ago • 1 comments

Description

As reported in #343, the Ruby IRB (REPL) send a large number of redundant ESC sequences that has:

  1. a serious performance impact on copy/paste operations, and
  2. send the wrong ESC sequence causing screen wrap-around when reaching last line of screen buffer.

Result of irb_info

Ruby version: 3.1.0
IRB version: irb 1.4.1 (2021-12-25)
InputMethod: ReidlineInputMethod with Reline 0.3.0
RUBY_PLATFORM: x64-mingw-ucrt
East Asian Ambiguous Width: 1
Code page: 65001

Terminal Emulator

What's your terminal emulator? any

Setting Files

Are you using ~/.irbrc and ~/.inputrc? no

eabase avatar Feb 01 '22 12:02 eabase

@eabase Is the issue still present with the latest Reline and IRB?

st0012 avatar Nov 08 '23 15:11 st0012