[coreboot] [FILO] #10: 'help' word wrapping problem

FILO svn at coreboot.org
Thu Oct 2 13:07:04 CEST 2008


#10: 'help' word wrapping problem
-------------------------------------+--------------------------------------
    Reporter:  hawke at 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

-- 
Ticket URL: <http://tracker.coreboot.org/trac/filo/ticket/10#comment:1>
FILO <http://www.coreboot.org/FILO>



More information about the coreboot mailing list