pub fn readlines<T>(max: usize, query: T) -> Stringwhere
T: Display,Expand description
Reads lines from stdin() until the maximum of characters is met. Do keep in mind that \n’s and on Windows \r’s too also count towards the charcter count.
This function will always remove trailing \n and the \r on Windows only.
It also does not break if a EOF is reached and instead acts as if a newline was reached prints one itself.