Wrap lines correctly for the `l' command.
This commit is contained in:
parent
011b358aba
commit
d1ccc822a5
@ -480,7 +480,7 @@ lputs(s)
|
||||
}
|
||||
|
||||
for (count = 0; *s; ++s) {
|
||||
if (count >= termwidth) {
|
||||
if (count + 5 >= termwidth) {
|
||||
(void)printf("\\\n");
|
||||
count = 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user