-
Notifications
You must be signed in to change notification settings - Fork 28
Labels
enhancementNew feature or requestNew feature or requestruntimeWork in the C++ runtime portion of the codeWork in the C++ runtime portion of the codestdWork in the Luau standard library portion of the codeWork in the Luau standard library portion of the code
Milestone
Description
Currently, the Lute standard library does not provide a way to get input from the user interactively (e.g., reading from stdin or prompting for user input during script execution).
Feature Request:
Please consider adding functions or utilities to the standard library that enable interactive user input. This could include:
- Reading strings, numbers, or other types from stdin
- Prompting the user and collecting their response during script runtime
- Handling basic validation or error cases for input
Use Cases:
- Scripts that need to interactively configure behavior
- Educational examples or REPL-style usage
- CLI apps requiring user choices, confirmations, or data entry
Current Workarounds:
- Parsing CLI arguments (not interactive)
- Reading from files (not interactive)
Thank you for considering this enhancement.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestruntimeWork in the C++ runtime portion of the codeWork in the C++ runtime portion of the codestdWork in the Luau standard library portion of the codeWork in the Luau standard library portion of the code