Opened 9 years ago

Closed 8 years ago

#404 closed defect (fixed)

text formatting in larger consoles

Reported by: Chucky Owned by: bruno
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 Changed 9 years ago by bruno

  • Milestone changed from 2.2.9.3 to 2.2.9.4

comment:2 Changed 9 years ago by bruno

  • Milestone changed from 2.2.9.4 to 2.2.9.5

comment:3 Changed 8 years ago by bruno

  • Milestone changed from 2.2.9.5 to 2.2.9.6

comment:4 Changed 8 years ago by bruno

  • Milestone changed from 2.2.9.6 to 2.2.9.7
  • Resolution set to fixed
  • Status changed from new to closed

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.