Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dozens of extra lines are displayed #248

Closed
universato opened this issue Jun 23, 2021 · 3 comments
Closed

Dozens of extra lines are displayed #248

universato opened this issue Jun 23, 2021 · 3 comments

Comments

@universato
Copy link

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.

@universato universato changed the title Dozens of extra lines are displayed. Dozens of extra lines are displayed on VSCode Jun 23, 2021
@universato universato changed the title Dozens of extra lines are displayed on VSCode Dozens of extra lines are displayed Jul 3, 2021
@aycabta
Copy link
Member

aycabta commented Oct 3, 2021

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?

@universato
Copy link
Author

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

Image from Gyazo

@tompng
Copy link
Member

tompng commented Apr 8, 2023

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

@tompng tompng closed this as completed Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants