Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
00ba810d
Commit
00ba810d
authored
Mar 04, 2007
by
Jason Edmeades
Committed by
Alexandre Julliard
Mar 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd.exe: Additional PROMPT options.
parent
0efa91de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
wcmdmain.c
programs/cmd/wcmdmain.c
+18
-3
No files found.
programs/cmd/wcmdmain.c
View file @
00ba810d
...
@@ -878,9 +878,15 @@ void WCMD_show_prompt (void) {
...
@@ -878,9 +878,15 @@ void WCMD_show_prompt (void) {
case
'$'
:
case
'$'
:
*
q
++
=
'$'
;
*
q
++
=
'$'
;
break
;
break
;
case
'A'
:
*
q
++
=
'&'
;
break
;
case
'B'
:
case
'B'
:
*
q
++
=
'|'
;
*
q
++
=
'|'
;
break
;
break
;
case
'C'
:
*
q
++
=
'('
;
break
;
case
'D'
:
case
'D'
:
GetDateFormat
(
LOCALE_USER_DEFAULT
,
DATE_SHORTDATE
,
NULL
,
NULL
,
q
,
MAX_PATH
);
GetDateFormat
(
LOCALE_USER_DEFAULT
,
DATE_SHORTDATE
,
NULL
,
NULL
,
q
,
MAX_PATH
);
while
(
*
q
)
q
++
;
while
(
*
q
)
q
++
;
...
@@ -888,9 +894,15 @@ void WCMD_show_prompt (void) {
...
@@ -888,9 +894,15 @@ void WCMD_show_prompt (void) {
case
'E'
:
case
'E'
:
*
q
++
=
'\E'
;
*
q
++
=
'\E'
;
break
;
break
;
case
'F'
:
*
q
++
=
')'
;
break
;
case
'G'
:
case
'G'
:
*
q
++
=
'>'
;
*
q
++
=
'>'
;
break
;
break
;
case
'H'
:
*
q
++
=
'\b'
;
break
;
case
'L'
:
case
'L'
:
*
q
++
=
'<'
;
*
q
++
=
'<'
;
break
;
break
;
...
@@ -910,13 +922,16 @@ void WCMD_show_prompt (void) {
...
@@ -910,13 +922,16 @@ void WCMD_show_prompt (void) {
case
'Q'
:
case
'Q'
:
*
q
++
=
'='
;
*
q
++
=
'='
;
break
;
break
;
case
'S'
:
*
q
++
=
' '
;
break
;
case
'T'
:
case
'T'
:
GetTimeFormat
(
LOCALE_USER_DEFAULT
,
0
,
NULL
,
NULL
,
q
,
MAX_PATH
);
GetTimeFormat
(
LOCALE_USER_DEFAULT
,
0
,
NULL
,
NULL
,
q
,
MAX_PATH
);
while
(
*
q
)
q
++
;
while
(
*
q
)
q
++
;
break
;
break
;
case
'V'
:
case
'V'
:
lstrcat
(
q
,
version_string
);
lstrcat
(
q
,
version_string
);
while
(
*
q
)
q
++
;
while
(
*
q
)
q
++
;
break
;
break
;
case
'_'
:
case
'_'
:
*
q
++
=
'\n'
;
*
q
++
=
'\n'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment