Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Swift readLine() scripting function not usable #24

Open
philipturner opened this issue Oct 12, 2022 · 0 comments
Open

Swift readLine() scripting function not usable #24

philipturner opened this issue Oct 12, 2022 · 0 comments
Labels
wontfix This will not be worked on

Comments

@philipturner
Copy link
Owner

Although %system commands now support user input, this wasn't extended to the LLDB process. Swift code can write to output with print(), but can't read through readLine(). Any libraries that call this function will be affected.

As an alternative to this kind of interaction, ask the user to paste a string into an empty cell. Design the notebook with a drop-down feature that closes the cell, or ask the user to delete it after running. For larger input, the user can connect to their Google Drive to import .txt or .csv files.

@philipturner philipturner added the wontfix This will not be worked on label Oct 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant