You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Expose OS.read_string_from_stdin() to the scripting API
This can be used in scripts to read user input in a blocking manner. This also removes the unused `block` argument, which is always `true`.
This commit is contained in:
@@ -716,7 +716,7 @@ bool OS_UWP::set_environment(const String &p_var, const String &p_value) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
String OS_UWP::get_stdin_string(bool p_block) {
|
||||
String OS_UWP::get_stdin_string() {
|
||||
return String();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user