You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be very useful to have a way of writing multiple lines in an Input.
For example, copying and pasting this text:
foo
bar
Would take only foo.
To know when to stop, maybe we can stop when getting an empty string back, for example with std::io::stdin().read_line(&mut buffer) will return 0 (because it didn't read anything) and not modify buffer.
Thanks !
The text was updated successfully, but these errors were encountered:
Hello !
Would be very useful to have a way of writing multiple lines in an Input.
For example, copying and pasting this text:
Would take only foo.
To know when to stop, maybe we can stop when getting an empty string back, for example with
std::io::stdin().read_line(&mut buffer)
will return 0 (because it didn't read anything) and not modify buffer.Thanks !
The text was updated successfully, but these errors were encountered: