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-9210] REPL doesn't work properly with fullwidth characters #4349

Open
TellowKrinkle opened this issue Nov 8, 2018 · 2 comments
Open
Labels
bug Something isn't working LLDB for Swift

Comments

@TellowKrinkle
Copy link

Previous ID SR-9210
Radar None
Original Reporter @TellowKrinkle
Type Bug
Additional Detail from JIRA
Votes 0
Component/s LLDB for Swift
Labels Bug
Assignee None
Priority Medium

md5: 3f3f0595512949f02e62bcfda39986dd

Issue Description:

Steps to reproduce:

  • Open the swift repl (swift)

  • Type something that uses fullwidth characters (let hello = "こんにちは")

  • Press Enter

  • Press up arrow to go back to the previous line

The cursor will now be in the middle of the string instead of at the end. Typing will visually overwrite pieces of the string (though it will be treated as if it were at the end from the standpoint of executing commands in the repl).

@belkadan
Copy link

belkadan commented Nov 8, 2018

This is probably a problem with LLDB in general, not just in the REPL, which means it might deserve a report at bugs.llvm.org. jingham@apple.com (JIRA User)?

@swift-ci
Copy link

swift-ci commented Nov 8, 2018

Comment by Jim Ingham (JIRA)

Yes, though I suspect it is editline not lldb; that doesn't seem to be very good with wide characters.

@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working LLDB for Swift
Projects
None yet
Development

No branches or pull requests

3 participants