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-15485] Linux: REPL readline editing broken with swift run --repl #57790

Closed
mickeyl opened this issue Nov 16, 2021 · 2 comments
Closed

[SR-15485] Linux: REPL readline editing broken with swift run --repl #57790

mickeyl opened this issue Nov 16, 2021 · 2 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.

Comments

@mickeyl
Copy link

mickeyl commented Nov 16, 2021

Previous ID SR-15485
Radar rdar://problem/85496968
Original Reporter @mickeyl
Type Bug
Status Resolved
Resolution Duplicate
Environment

Swift 5.5.1, Linux.

Additional Detail from JIRA
Votes 0
Component/s
Labels Bug
Assignee None
Priority Medium

md5: 1724bc61f5d99c08fd0cde62d1259260

Issue Description:

When using the REPL by calling `swift`, everything works fine. When launching it within the directory of an SPM via

swift run --repl

hell breaks loose: Some characters i'm typing will be changed automatically and cursor keys behave very erratic.

Reproduction is very easy: just open, try a simple command like 'let x: Int = 10' <return>, and then press cursor key up.

@weissi
Copy link
Member

weissi commented Nov 17, 2021

@swift-ci create

@augusto2112
Copy link
Contributor

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.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 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 A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Projects
None yet
Development

No branches or pull requests

3 participants