Skip to content

Dozens of extra lines are displayed #248

Closed

Description

@universato

Description

What are your expected behavior and actual behavior of your environment?

Expected

Users.joins(:posts).select("users.*, posts.*").each do |user_post|
  p user_post.name
end

When I paste the above code, dozens of extra line should not be displayed.

Actual

When I paste the code, dozens of extra lines will be displayed.

Image from Gyazo

Result of irb_info

irb(main):001:0> irb_info
=> 
Ruby version: 3.0.1
IRB version: irb 1.3.6 (2021-06-19)
InputMethod: ReidlineInputMethod with Reline 0.2.6
RUBY_PLATFORM: x86_64-darwin19

Terminal Emulator

$ echo $TERM_PROGRAM
vscode

$ code -v
1.57.1
507ce72a4466fbb27b715c3722558bb15afa9f48
x64

(macOS Big Sur 11.4 (20F71))

Setting Files

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

No.

Activity

  1. changed the title [-]Dozens of extra lines are displayed.[/-] [+]Dozens of extra lines are displayed on VSCode[/+] on Jun 23, 2021
  2. changed the title [-]Dozens of extra lines are displayed on VSCode[/-] [+]Dozens of extra lines are displayed[/+] on Jul 3, 2021
  3. aycabta commented on Oct 3, 2021

    @aycabta
    Member

    Hmm...I can't reproduce it. Would you try it again with the latest version of VSCode and the latest preview version of irb gem by gem install irb --pre?

  4. universato commented on Oct 8, 2022

    @universato
    Author

    I tried it now with the latest versions, but there are some extra lines

    Image from Gyazo

  5. tompng commented on Apr 8, 2023

    @tompng
    Member

    This is fixed in reline's side ruby/reline#474.
    スクリーンショット 2023-04-09 4 46 25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions