#10: 'help' word wrapping problem -------------------------------------+-------------------------------------- Reporter: hawke@hawkesnest.net | Owner: oxygene Type: defect | Status: assigned Priority: minor | Milestone: Component: FILO | Version: Resolution: | Keywords: Dependencies: | Patchstatus: there is no patch -------------------------------------+-------------------------------------- Changes (by oxygene):
* owner: somebody => oxygene * status: new => assigned
Comment:
You're on the right track, I think. Following fixes it for me: --- main/grub/char_io.c (revision 2062) +++ main/grub/char_io.c (local) @@ -935,6 +935,7 @@ } else if (isprint(c)) { getyx(stdscr, y, x); if (x + 1 == COLS) { + console_putchar('\r'); console_putchar('\n'); } if (console_color_state == COLOR_STATE_HIGHLIGHT)
There is another issue (the four spaces on the long description lines are not always clean). Once I figured that out, I'll post a patch