-
46f5e257
by Eric Pouech at 2025-09-03T22:02:05+02:00
cmd: Simplify setting console colors.
Starting splitting the wmain() into various helpers
and introducing structure to hold command line options
(instead of abusing global variables).
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
a9a0a529
by Eric Pouech at 2025-09-03T22:02:05+02:00
cmd: Reuse exiting execution related helpers in wmain().
This avoids reinventing the wheel when searching for
builtin command / batch file / external executable.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
71c4557d
by Eric Pouech at 2025-09-03T22:02:05+02:00
cmd: Finish moving command line handling in dedicated helpers.
Removing a couple of global variables, and simplifying the code.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
f214157e
by Eric Pouech at 2025-09-03T22:02:05+02:00
cmd: cmd /c or /k shall handle ctrl-c events properly.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
adad7016
by Eric Pouech at 2025-09-03T22:02:05+02:00
cmd: No longer reformat output according to console width.
The console should take care of it. And we shouldn't wrap lines when
outputting inside a file or a pipe.
Removing a pair of global variables.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>