🚀 input now can choose std::getline to read one line.

This commit is contained in:
ValKmjolnir
2022-07-30 01:31:56 +08:00
parent 172c1d60f9
commit 63452ff224
3 changed files with 9 additions and 5 deletions
+2 -2
View File
@@ -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: