1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

Wrap lines correctly for the `l' command.

This commit is contained in:
Tim J. Robbins 2002-06-04 10:40:14 +00:00
parent 011b358aba
commit d1ccc822a5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97808

View File

@ -480,7 +480,7 @@ lputs(s)
}
for (count = 0; *s; ++s) {
if (count >= termwidth) {
if (count + 5 >= termwidth) {
(void)printf("\\\n");
count = 0;
}