You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apple Swift version 5.1 (swiftlang-1100.0.257 clang-1100.0.31.3).
macOS 10.15 Beta (19A512f)
Additional Detail from JIRA
Votes
0
Component/s
LLDB for Swift
Labels
Bug
Assignee
None
Priority
Medium
md5: c89ba02bf8493dbb05e0fdc3de72e4dd
Issue Description:
When pressing the DEL key in the REPL, the character left to the cursor is deleted. This behavior is inconsistent with the rest of the OS, where pressing DEL deletes the character directly under the cursor.
Therefore, the behavior of pressing DEL in the REPL should be changed to make it consistent with the OS.
Steps to reproduce:
Open a terminal
Enter swift and press enter to start the REPL
Enter print("Hello World")
Move the cursor to the beginning of the line
Press the DEL key
Expected results:
After pressing the DEL key, the input should be rint("Hello World") (without the p in the beginning)
Actual results:
When pressing the DEL key, the input stays unchanged.
The text was updated successfully, but these errors were encountered:
The REPL plays a bunch of games to support multi-line editing and history recall. It's not entirely surprising something in there changed this behavior.
Environment
Apple Swift version 5.1 (swiftlang-1100.0.257 clang-1100.0.31.3).
macOS 10.15 Beta (19A512f)
Additional Detail from JIRA
md5: c89ba02bf8493dbb05e0fdc3de72e4dd
Issue Description:
When pressing the DEL key in the REPL, the character left to the cursor is deleted. This behavior is inconsistent with the rest of the OS, where pressing DEL deletes the character directly under the cursor.
Therefore, the behavior of pressing DEL in the REPL should be changed to make it consistent with the OS.
Steps to reproduce:
Open a terminal
Enter
swift
and press enter to start the REPLEnter
print("Hello World")
Move the cursor to the beginning of the line
Press the DEL key
Expected results:
After pressing the DEL key, the input should be
rint("Hello World")
(without the p in the beginning)Actual results:
When pressing the DEL key, the input stays unchanged.
The text was updated successfully, but these errors were encountered: