Opened 16 years ago
Closed 15 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 , 16 years ago
| Milestone: | 2.2.9.3 → 2.2.9.4 |
|---|
comment:2 by , 15 years ago
| Milestone: | 2.2.9.4 → 2.2.9.5 |
|---|
comment:3 by , 15 years ago
| Milestone: | 2.2.9.5 → 2.2.9.6 |
|---|
comment:4 by , 15 years ago
| Milestone: | 2.2.9.6 → 2.2.9.7 |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

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.