Project

General

Profile

Actions

Backport #5023

closed

irb does not like window resizes

Added by michas (Michael Schnupp) over 13 years ago. Updated almost 12 years ago.

Status:
Closed
[ruby-core:38041]

Description

  • open irb
  • type until line wraps to the next line
  • increase the width of the terminal
  • notice that the text of in the second line will not come up to the first line.
    -> there is no more useful display/navigation in long lines unless window is resized to exactly the same width. :(

My irb uses libreadline. (Readline module is visible and config in ~/.inputrc is applied.)
Other readline applications like bash do not have that problem.
irb in 1.8 works fine, too.
all versions of 1.9 (including head) have the described problem.
(I tested mainly on my ubuntu box.)


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #5423: readlineの入力待機中に端末のウィンドウサイズ変更すると入力内容が乱れるClosedkouji (Kouji Takao)10/08/2011Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0