Default to $P$G prompt. Make width of date 10 characters to align
date column with DATE_SHORTDATE format.
This commit is contained in:
parent
761dc0d626
commit
c87595c994
|
@ -254,7 +254,7 @@ ULARGE_INTEGER byte_count, file_size;
|
|||
dir_count++;
|
||||
|
||||
if (!bare) {
|
||||
WCMD_output ("%8s %8s <DIR> %s\n",
|
||||
WCMD_output ("%10s %8s <DIR> %s\n",
|
||||
datestring, timestring, (fd+i)->cFileName);
|
||||
linesout++;
|
||||
} else {
|
||||
|
@ -276,7 +276,7 @@ ULARGE_INTEGER byte_count, file_size;
|
|||
#endif
|
||||
byte_count.QuadPart += file_size.QuadPart;
|
||||
if (!bare) {
|
||||
WCMD_output ("%8s %8s %10s %s\n",
|
||||
WCMD_output ("%10s %8s %10s %s\n",
|
||||
datestring, timestring,
|
||||
WCMD_filesize64(file_size.QuadPart), (fd+i)->cFileName);
|
||||
linesout++;
|
||||
|
|
|
@ -432,7 +432,7 @@ char *p, *q;
|
|||
|
||||
status = GetEnvironmentVariable ("PROMPT", prompt_string, sizeof(prompt_string));
|
||||
if ((status == 0) || (status > sizeof(prompt_string))) {
|
||||
lstrcpy (prompt_string, "$N$G");
|
||||
lstrcpy (prompt_string, "$P$G");
|
||||
}
|
||||
p = prompt_string;
|
||||
q = out_string;
|
||||
|
|
Loading…
Reference in New Issue