Opened 14 years ago

Closed 13 years ago

#404 closed defect (fixed)

text formatting in larger consoles

Reported by: Chucky Owned by: Bruno Cornec
Priority: normal Milestone: 2.2.9.7
Component: mondo Version: 2.2.9.2
Severity: normal Keywords:
Cc:

Description

WELCOME TO MONDO & other text's aren't properly centered when using larger consoles. Also, when making filelists there are 'leftovers' from lines. It can make a lot of 'garbage' which don't put faith in mondo user's. Eg. in libmondo-filelist.c:open_and_list_dir(). I would use something like:

    int cols, rows;
    newtGetScreenSize(&cols, &rows);
    mr_asprintf(&tmp, "Reading %-*s", cols, dir1);

instead of

    mr_asprintf(&tmp, "Reading %-68s", dir1);

That would look more profi :-)

Change History (4)

comment:1 by Bruno Cornec, 14 years ago

Milestone: 2.2.9.32.2.9.4

comment:2 by Bruno Cornec, 14 years ago

Milestone: 2.2.9.42.2.9.5

comment:3 by Bruno Cornec, 13 years ago

Milestone: 2.2.9.52.2.9.6

comment:4 by Bruno Cornec, 13 years ago

Milestone: 2.2.9.62.2.9.7
Resolution: fixed
Status: newclosed

Sorry for the delay. I made the indicated modification. Cf: rev [2766] If you know other places where the same treatment can be easily done, feel free to reopen this BR.

Note: See TracTickets for help on using tickets.