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

[SR-15370] REPL: messed up readline support even without resizing windows #4302

Closed
weissi opened this issue Oct 21, 2021 · 7 comments
Closed
Labels
bug Something isn't working Linux LLDB for Swift

Comments

@weissi
Copy link
Member

weissi commented Oct 21, 2021

Previous ID SR-15370
Radar rdar://problem/84518637
Original Reporter @weissi
Type Bug
Status Resolved
Resolution Duplicate
Additional Detail from JIRA
Votes 0
Component/s LLDB for Swift
Labels Bug, Linux
Assignee None
Priority Medium

md5: 75e4034b984641fc0d77ced822e04b2d

Issue Description:

In the below REPL session I typed

  • import Foundation

  • Host.current

  • up arrow

what is shown is

Welcome to Swift version 5.5 (swift-5.5-RELEASE).
Type :help for assistance.
  1> import Foundation
  2> Host.current
$R0: () -> Host =
  3> currentrrent 

See that line 3 says currentrrent instead of Host.current. It's only the display that's messed up. If you press Enter, it works.

@weissi
Copy link
Member Author

weissi commented Oct 21, 2021

@swift-ci create

@weissi
Copy link
Member Author

weissi commented Oct 21, 2021

CC @adrian-prantl

@mickeyl
Copy link

mickeyl commented Nov 17, 2021

Which platform is this on? Might be related to https://bugs.swift.org/browse/SR-15485

@weissi
Copy link
Member Author

weissi commented Nov 17, 2021

@mickeyl This is Linux too

@augusto2112
Copy link

Duplicate of https://bugs.swift.org/browse/SR-15369.

I'm marking these as dups so we can concentrate the discussion on a single issue. It has been fixed on main for a while, but unfortunately i missed the window to cherry-pick it into 5.5. If you're able to, please download the main snapshot on https://www.swift.org/download/, verify if it's working for you and letting me know on the SR-15369.

@weissi
Copy link
Member Author

weissi commented Jan 4, 2022

Yes, this is fixed. Thank you!

@weissi
Copy link
Member Author

weissi commented Jan 4, 2022

Swift version 5.6-dev (LLVM c8e0f2fe28693ea, Swift 68eb340a2b7690f). works

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Linux LLDB for Swift
Projects
None yet
Development

No branches or pull requests

3 participants