Commit 10193126 authored by rswindell's avatar rswindell
Browse files

Beep when wrap is disabled and reaching the of the allowed string input length.

parent 1e789698
......@@ -545,7 +545,8 @@ size_t sbbs_t::getstr(char *strout, size_t maxlen, long mode)
str1[i++]=ch;
if(!(mode&K_NOECHO))
outchar(ch);
}
} else
outchar(BEL); /* Added at Angus McLeod's request */
}
if(i>l)
l=i;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment