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
Since Swift 5.1, it is no longer possible to go through the command history in the REPL by pressing the up/down arrow keys. It is only possible to recall the most recent command.
Steps to reproduce:
Open a terminal
Type in swift and press return to start the REPL
Type in the following:
funcfoo() {}
funcbar() {}
Press the up arrow key twice
Expected results:
The current input should be
funcfoo() {}
Actual results:
The current line input is
funcbar() {}
Further notes:
Pressing the down arrow after pressing the up arrow results in a command from a previous sessions being shown.
The text was updated successfully, but these errors were encountered:
Environment
Apple Swift version 5.1 (swiftlang-1100.0.266.1 clang-1100.0.32.1)
Additional Detail from JIRA
md5: 4c6fb2b8a68d33bbf6440b90abeea702
Issue Description:
Since Swift 5.1, it is no longer possible to go through the command history in the REPL by pressing the up/down arrow keys. It is only possible to recall the most recent command.
Steps to reproduce:
Open a terminal
Type in
swift
and press return to start the REPLType in the following:
Press the up arrow key twice
Expected results:
The current input should be
Actual results:
The current line input is
Further notes:
Pressing the down arrow after pressing the up arrow results in a command from a previous sessions being shown.
The text was updated successfully, but these errors were encountered: