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:
parent
011b358aba
commit
d1ccc822a5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97808
@ -480,7 +480,7 @@ lputs(s)
|
||||
}
|
||||
|
||||
for (count = 0; *s; ++s) {
|
||||
if (count >= termwidth) {
|
||||
if (count + 5 >= termwidth) {
|
||||
(void)printf("\\\n");
|
||||
count = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user