mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-21 10:28:50 +08:00
🚀 input now can choose std::getline to read one line.
This commit is contained in:
+2
-2
@@ -25,8 +25,8 @@ var system=func(str){
|
||||
}
|
||||
|
||||
# input uses std::cin and returns what we input.
|
||||
var input=func(){
|
||||
return __input();
|
||||
var input=func(end=nil){
|
||||
return __input(end);
|
||||
}
|
||||
|
||||
# split a string by separator for example:
|
||||
|
||||
Reference in New Issue
Block a user