1
0
Fork 0
dosbox-staging/src/shell
Patryk Obara 3eaabb41c1 Fix output formatting of 'dir' command
Adapt to 'pause' command working correctly (assuming the terminal height
is 25, this will need further adjustments for supporting 80x50 and
different modes).

Adjust "intro" by 1 space to make formatting the same as MS-DOS 'dir'
command - this makes intro not "merge" visually with the files listed.

Adjust placing of files and directories counters, to make it resemble
most 'dir' implementations.

Count intro lines for purpose of correct pagination with 'dir /p'.

Skip counting not printed lines with 'dir /b /p'.

Output of 'dir /w /p' is still broken, but fixing it will require more
invasive changes.

Fixes: #75
2019-12-23 21:52:37 +01:00
..
.gitignore Import svn:ignore props to .gitignore files 2019-09-15 20:34:57 +02:00
Makefile.am removed shell_inc.h 2004-01-06 11:21:58 +00:00
shell.cpp Fix output formatting of 'dir' command 2019-12-23 21:52:37 +01:00
shell_batch.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00
shell_cmds.cpp Fix output formatting of 'dir' command 2019-12-23 21:52:37 +01:00
shell_misc.cpp Pick some lowhanging fruit. (some memory leaks and unused variables) 2019-10-01 12:11:09 +00:00