@ -415,8 +415,12 @@ pub fn get_line() string {
if nr_chars == 0 {
return ''
}
if buf[nr_chars - 1] == `\n` /* newline */ {
return tos(buf, nr_chars - 1)
/* To prevent cutting end of line if no newline */
return tos(buf, nr_chars)
pub fn user_os() string {
$if linux {