Make term_flushln() simpler and more robust:
authorschwarze <schwarze@openbsd.org>
Sun, 4 Jun 2017 18:48:09 +0000 (18:48 +0000)
committerschwarze <schwarze@openbsd.org>
Sun, 4 Jun 2017 18:48:09 +0000 (18:48 +0000)
commit771c54bc04c60501eb17b3f9edc9328b55b4d731
tree2cc1f9e453b2545b56476cdc6c5be123fa37abea
parentb3761217534b5b755eebc9fbd451279f4a11a335
Make term_flushln() simpler and more robust:
Eliminate the "overstep" state variable.
The information is already contained in "viscol".
Minus 60 lines of code, no functional change intended.
usr.bin/mandoc/man_term.c
usr.bin/mandoc/mdoc_term.c
usr.bin/mandoc/term.c
usr.bin/mandoc/term.h